package com.aspose.cells;

import java.util.ArrayList;
import java.util.HashMap;

class zbwf {
   static byte[] a(Object var0) {
      byte[] var1 = null;
      switch(zamo.a(var0.getClass())) {
      case 7:
         var1 = new byte[11];
         var1[0] = 9;
         var1[2] = 31;
         System.arraycopy(com.aspose.cells.b.a.zc.a((double)(Short)var0), 0, var1, 3, 8);
      case 8:
      case 10:
      case 11:
      case 12:
      case 13:
      case 15:
      case 17:
      default:
         break;
      case 9:
         var1 = new byte[11];
         var1[0] = 9;
         var1[2] = 31;
         System.arraycopy(com.aspose.cells.b.a.zc.a((double)(Integer)var0), 0, var1, 3, 8);
         break;
      case 14:
         var1 = new byte[11];
         var1[0] = 9;
         var1[2] = 31;
         System.arraycopy(com.aspose.cells.b.a.zc.a((Double)var0), 0, var1, 3, 8);
         break;
      case 16:
         var1 = new byte[11];
         var1[0] = 9;
         var1[2] = 31;
         System.arraycopy(com.aspose.cells.b.a.zc.a(CellsHelper.getDoubleFromDateTime((DateTime)var0, false)), 0, var1, 3, 8);
         break;
      case 18:
         String var2 = (String)var0;
         var1 = new byte[5 + var2.length() * 2];
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.length - 2), 0, var1, 0, 2);
         var1[2] = 23;
         var1[3] = (byte)var2.length();
         var1[4] = 1;
         System.arraycopy(Encoding.getUnicode().a(var2), 0, var1, 5, var2.length() * 2);
      }

      return var1;
   }

   static Object a(byte[] var0, int var1) {
      int var2 = var0.length;
      int var3 = var1;
      if (var1 == -1) {
         var2 = com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff';
         var3 = 2;
      }

      if (var2 == 0) {
         return null;
      } else {
         switch(var0[var3]) {
         case 23:
            int var4 = var0[var3 + 1] & 255;
            boolean var5 = var0[var3 + 2] == 0;
            if (var5) {
               if (var4 + 3 == var2) {
                  return Encoding.getASCII().a(var0, var3 + 3, var4);
               }
            } else if (var4 * 2 + 3 == var2) {
               return Encoding.getUnicode().a(var0, var3 + 3, var4 * 2);
            }
         case 24:
         case 25:
         case 26:
         case 27:
         case 29:
         default:
            break;
         case 28:
            if (var2 == 2) {
               return zsk.b(var0[var3 + 1]);
            }
            break;
         case 30:
            if (var2 == 3) {
               return com.aspose.cells.b.a.zc.e(var0, var3 + 1) & '\uffff';
            }
            break;
         case 31:
            if (var2 == 9) {
               return com.aspose.cells.b.a.zc.f(var0, var3 + 1);
            }
         }

         return null;
      }
   }

   static boolean a(byte[] var0, int var1, boolean var2) {
      int var3 = var0.length;
      int var4 = var1;
      if (var1 == -1) {
         var3 = com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff';
         var4 = 2;
      }

      switch(var0[var4]) {
      case 23:
         if (var2) {
            return false;
         } else {
            int var5 = var0[var4 + 1] & 255;
            boolean var6 = var0[var4 + 2] == 0;
            if (var6) {
               return var5 + 3 == var3;
            }

            return var5 * 2 + 3 == var3;
         }
      case 24:
      case 25:
      case 26:
      case 27:
      case 29:
      default:
         return false;
      case 28:
         return var3 == 2;
      case 30:
         return var3 == 3;
      case 31:
         return var3 == 9;
      }
   }

   static void a(byte[] var0, int var1, int var2, WorksheetCollection var3, WorksheetCollection var4, int var5, zbqg var6, boolean var7) {
      boolean var8 = false;
      boolean var9 = false;
      int var10 = var1;
      int var11 = var2;
      if (var1 == -1) {
         var10 = 2;
         var11 = var10 + (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff');
      }

      boolean var12 = false;
      boolean var13 = false;
      boolean var14 = false;
      boolean var15 = false;
      boolean var16 = false;
      Cells var17 = null;
      Cell var18 = null;

      while(var10 < var11) {
         int var20;
         int var21;
         int var24;
         int var25;
         int var26;
         int var27;
         int var30;
         switch(var0[var10]) {
         case 1:
         case 2:
            var10 += 5;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var10;
            break;
         case 23:
            byte var19 = var0[var10 + 1];
            if (var0[var10 + 2] == 0) {
               var10 += (var19 & 255) + 3 & '\uffff';
            } else {
               var10 += (var19 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var0[var10 + 1] == 25) {
               var10 += 14;
            } else if (var0[var10 + 1] == 29) {
               var10 += 6;
            } else {
               ++var10;
            }
            break;
         case 25:
            switch(var0[var10 + 1]) {
            case 1:
               var10 += 4;
               continue;
            case 2:
               var10 += 4;
               continue;
            case 4:
               var20 = com.aspose.cells.b.a.zc.e(var0, var10 + 2);
               var10 += (var20 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var10 += 4;
               continue;
            case 16:
               var10 += 4;
               continue;
            case 32:
               var10 += 4;
               continue;
            case 64:
               var10 += 4;
               continue;
            default:
               var10 += 4;
               continue;
            }
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 28:
         case 29:
            var10 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var10 += 3;
            break;
         case 31:
            var10 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var10 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var10 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var10 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var10 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var10 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var10 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var10 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var10 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var10 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var10 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var10 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var10 += 7;
            break;
         case 58:
         case 90:
         case 122:
            if (var7) {
               var20 = com.aspose.cells.b.a.zc.e(var0, var10 + 1) & '\uffff';
               var21 = com.aspose.cells.b.a.zc.e(var0, var10 + 3) & '\uffff';
               var26 = com.aspose.cells.b.a.zc.e(var0, var10 + 5) & '\uffff';
               var27 = var0[var10 + 7] & 255;
               var30 = var20;
            } else {
               var24 = com.aspose.cells.b.a.zc.e(var0, var10 + 1) & '\uffff';
               var25 = var3.q().c(var24);
               if (var25 != var5) {
                  var10 += 7;
                  break;
               }

               var30 = var3.q().d(var24);
               if (var30 < 0 || var30 >= var4.getCount()) {
                  var10 += 7;
                  break;
               }

               var26 = com.aspose.cells.b.a.zc.e(var0, var10 + 3) & '\uffff';
               var27 = var0[var10 + 5] & 255;
            }

            var17 = var4.get(var30).getCells();
            var18 = var17.checkCell(var26, var27);
            if (var18 != null) {
               zut var31 = var6.b(var30);
               var31.a(var26, var27, var18.getValue());
            }

            if (var7) {
               var10 += 9;
            } else {
               var10 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            int var28;
            int var29;
            if (var7) {
               var20 = com.aspose.cells.b.a.zc.e(var0, var10 + 1) & '\uffff';
               var21 = com.aspose.cells.b.a.zc.e(var0, var10 + 3) & '\uffff';
               var26 = com.aspose.cells.b.a.zc.e(var0, var10 + 5) & '\uffff';
               var28 = com.aspose.cells.b.a.zc.e(var0, var10 + 7) & '\uffff';
               var27 = var0[var10 + 9] & 255;
               var29 = var0[var10 + 11] & 255;
               var30 = var20;
            } else {
               var24 = com.aspose.cells.b.a.zc.e(var0, var10 + 1) & '\uffff';
               var25 = var3.q().c(var24);
               if (var25 != var5) {
                  var10 += 11;
                  break;
               }

               var30 = var3.q().d(var24);
               if (var30 < 0 || var30 >= var4.getCount()) {
                  var10 += 11;
                  break;
               }

               var26 = com.aspose.cells.b.a.zc.e(var0, var10 + 3) & '\uffff';
               var28 = com.aspose.cells.b.a.zc.e(var0, var10 + 5) & '\uffff';
               var27 = var0[var10 + 7] & 255;
               var29 = var0[var10 + 9] & 255;
            }

            var17 = var4.get(var30).getCells();

            for(var20 = var26; var20 <= var28; ++var20) {
               Row var32 = var17.checkRow(var20);
               if (var32 != null) {
                  for(int var22 = var27; var22 <= var29; ++var22) {
                     var18 = var32.getCellOrNull(var22);
                     if (var18 != null) {
                        zut var23 = var6.b(var30);
                        var23.a(var20, var22, var18.getValue());
                     }
                  }
               }
            }

            if (var7) {
               var10 += 13;
            } else {
               var10 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            if (var7) {
               var10 += 9;
            } else {
               var10 += 7;
            }
            break;
         case 61:
         case 93:
         case 125:
            if (var7) {
               var10 += 13;
            } else {
               var10 += 11;
            }
         }
      }

   }

   static int a(byte[] var0, int var1, int var2) {
      int var3 = 0;
      int var4 = var1;
      int var5 = var2;
      if (var1 == -1) {
         var4 = 2;
         var5 = var4 + (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff');
      }

      while(var4 < var5) {
         switch(var0[var4]) {
         case 1:
            var4 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return var3;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var4;
            break;
         case 23:
            byte var6 = var0[var4 + 1];
            if (var0[var4 + 2] == 0) {
               var4 += (var6 & 255) + 3 & '\uffff';
            } else {
               var4 += (var6 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var0[var4 + 1] == 25) {
               ++var3;
               var4 += 14;
            } else if (var0[var4 + 1] == 29) {
               var4 += 6;
            } else {
               ++var4;
            }
            break;
         case 25:
            switch(var0[var4 + 1]) {
            case 1:
               var4 += 4;
               continue;
            case 2:
               var4 += 4;
               continue;
            case 4:
               int var7 = com.aspose.cells.b.a.zc.e(var0, var4 + 2);
               var4 += (var7 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var4 += 4;
               continue;
            case 16:
               var4 += 4;
               continue;
            case 32:
               var4 += 4;
               continue;
            case 64:
               var4 += 4;
               continue;
            default:
               var4 += 4;
               continue;
            }
         case 28:
         case 29:
            var4 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var4 += 3;
            break;
         case 31:
            var4 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var4 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var4 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var4 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var4 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var4 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var4 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var4 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var4 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var4 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var4 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var4 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var4 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var4 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var4 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var4 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var4 += 11;
         }
      }

      return var3;
   }

   static byte[] a(byte[] var0, int var1, int var2, Worksheet var3) {
      int var4 = var2;
      int var5 = a(var0, var1, var2);
      if (var5 == 0) {
         return var0;
      } else {
         int var6 = var1;
         byte[] var7 = new byte[var0.length - var5 * 3];
         int var8 = 0;
         int var9;
         if (var1 == -1) {
            var6 = 2;
            var9 = com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff';
            var4 = var6 + var9;
            var8 = 2;
            short var10 = (short)(var9 - var5 * 3);
            System.arraycopy(com.aspose.cells.b.a.zc.a((int)var10), 0, var7, 0, 2);
            if (var4 <= var0.length) {
               System.arraycopy(var0, var4, var7, var10 + 2, var0.length - var4);
            }
         }

         var9 = var3.c().q().b(var3.c().u(), var3.getIndex());
         byte[] var17 = new byte[]{91, 0, 0};
         System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var17, 1, 2);
         if (var1 == -1) {
            var8 = 2;
         }

         while(var6 < var4) {
            int var12;
            switch(var0[var6]) {
            case 1:
            case 35:
            case 36:
            case 42:
            case 44:
            case 67:
            case 68:
            case 74:
            case 76:
            case 99:
            case 100:
            case 106:
            case 108:
               System.arraycopy(var0, var6, var7, var8, 5);
               var8 += 5;
               var6 += 5;
               break;
            case 2:
            case 46:
            case 47:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 54:
            case 55:
            case 56:
            case 62:
            case 63:
            case 78:
            case 79:
            case 80:
            case 81:
            case 82:
            case 83:
            case 84:
            case 85:
            case 86:
            case 87:
            case 88:
            case 94:
            case 95:
            case 110:
            case 111:
            case 112:
            case 113:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            default:
               return var7;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
            case 12:
            case 13:
            case 14:
            case 15:
            case 16:
            case 17:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
               var7[var8++] = var0[var6++];
               break;
            case 23:
               byte var18 = var0[var6 + 1];
               if (var0[var6 + 2] == 0) {
                  System.arraycopy(var0, var6, var7, var8, (var18 & 255) + 3);
                  var8 += (var18 & 255) + 3;
                  var6 += (var18 & 255) + 3 & '\uffff';
               } else {
                  System.arraycopy(var0, var6, var7, var8, (var18 & 255) * 2 + 3);
                  var8 += (var18 & 255) * 2 + 3;
                  var6 += (var18 & 255) * 2 + 3 & '\uffff';
               }
               break;
            case 24:
               if (var0[var6 + 1] != 25) {
                  if (var0[var6 + 1] == 29) {
                     System.arraycopy(var0, var6, var7, var8, 6);
                     var8 += 6;
                     var6 += 6;
                  } else {
                     var7[var8++] = var0[var6++];
                  }
                  break;
               }

               int var11 = com.aspose.cells.b.a.zc.a(var0, var6 + 6);
               var12 = com.aspose.cells.b.a.zc.e(var0, var6 + 10) & '\uffff';
               ListObject var13 = var3.getListObjects().a(var11);
               if (var13 != null && var12 < var13.getListColumns().getCount()) {
                  System.arraycopy(var17, 0, var7, var8, 3);
                  if ((var0[var6 + 5] & 255 & 8) != 0) {
                     var7[var8] = 123;
                  } else if ((var0[var6 + 5] & 255 & 4) != 0) {
                     var7[var8] = 91;
                  } else {
                     var7[var8] = 59;
                  }

                  int var14 = var13.getStartColumn() + var12;
                  int var15 = var13.getStartRow();
                  if (var13.y() > 0) {
                     ++var15;
                  }

                  int var16 = var13.getEndRow();
                  if (var13.j()) {
                     --var16;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var15), 0, var7, var8 + 3, 2);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var16), 0, var7, var8 + 5, 2);
                  var7[var8 + 7] = (byte)var14;
                  var7[var8 + 9] = (byte)var14;
               } else {
                  var7[var8] = 61;
               }

               var8 += 11;
               var6 += 14;
               break;
            case 25:
               switch(var0[var6 + 1]) {
               case 4:
                  var12 = com.aspose.cells.b.a.zc.e(var0, var6 + 2);
                  var6 += (var12 & '\uffff') * 2 + 6;
                  continue;
               default:
                  System.arraycopy(var0, var6, var7, var8, 4);
                  var8 += 4;
                  var6 += 4;
                  continue;
               }
            case 26:
            case 27:
               var7[var8++] = var0[var6++];
               return var7;
            case 28:
            case 29:
               System.arraycopy(var0, var6, var7, var8, 2);
               var8 += 2;
               var6 += 2;
               break;
            case 30:
            case 33:
            case 41:
            case 65:
            case 73:
            case 97:
            case 105:
               System.arraycopy(var0, var6, var7, var8, 3);
               var8 += 3;
               var6 += 3;
               break;
            case 31:
            case 37:
            case 43:
            case 45:
            case 69:
            case 75:
            case 77:
            case 101:
            case 107:
            case 109:
               System.arraycopy(var0, var6, var7, var8, 9);
               var8 += 9;
               var6 += 9;
               break;
            case 32:
            case 64:
            case 96:
               System.arraycopy(var0, var6, var7, var8, 8);
               var8 += 8;
               var6 += 8;
               break;
            case 34:
            case 66:
            case 98:
               System.arraycopy(var0, var6, var7, var8, 4);
               var8 += 4;
               var6 += 4;
               break;
            case 38:
            case 39:
            case 40:
            case 57:
            case 58:
            case 60:
            case 70:
            case 71:
            case 72:
            case 89:
            case 90:
            case 92:
            case 102:
            case 103:
            case 104:
            case 121:
            case 122:
            case 124:
               System.arraycopy(var0, var6, var7, var8, 7);
               var8 += 7;
               var6 += 7;
               break;
            case 59:
            case 61:
            case 91:
            case 93:
            case 123:
            case 125:
               System.arraycopy(var0, var6, var7, var8, 11);
               var8 += 11;
               var6 += 11;
            }
         }

         return var7;
      }
   }

   static void a(int var0, int var1, int var2, int var3, int var4, int var5, byte[] var6, int var7, int var8) {
      int var9 = var7;
      int var10 = var8;
      if (var7 == -1) {
         var9 = 2;
         var10 = var9 + (com.aspose.cells.b.a.zc.e(var6, 0) & '\uffff');
      }

      boolean var13 = false;

      while(var9 < var10) {
         int var11;
         int var12;
         byte var16;
         switch(var6[var9]) {
         case 1:
            if (var1 != 0) {
               var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 1) & '\uffff';
               var11 += var1;
               if (var11 < 0) {
                  var11 = 0;
               } else if (var11 > 65535) {
                  var11 = 65535;
               }

               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 1, 2);
            }

            if (var4 != 0) {
               var12 = var6[var9 + 3] & 255;
               var12 += var4;
               if (var12 < 0) {
                  var12 = 0;
               } else if (var12 > 255) {
                  var12 = 255;
               }

               var6[var9 + 3] = (byte)var12;
            }

            var9 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var9;
            break;
         case 23:
            byte var14 = var6[var9 + 1];
            if (var6[var9 + 2] == 0) {
               var9 += (var14 & 255) + 3 & '\uffff';
            } else {
               var9 += (var14 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var6[var9 + 1] == 25) {
               var9 += 14;
            } else if (var6[var9 + 1] == 29) {
               var9 += 6;
            } else {
               ++var9;
            }
            break;
         case 25:
            switch(var6[var9 + 1]) {
            case 1:
               var9 += 4;
               continue;
            case 2:
               var9 += 4;
               continue;
            case 4:
               int var15 = com.aspose.cells.b.a.zc.e(var6, var9 + 2);
               var9 += (var15 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var9 += 4;
               continue;
            case 16:
               var9 += 4;
               continue;
            case 32:
               var9 += 4;
               continue;
            case 64:
               var9 += 4;
               continue;
            default:
               var9 += 4;
               continue;
            }
         case 28:
         case 29:
            var9 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var9 += 3;
            break;
         case 31:
            var9 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var9 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var9 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var9 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var16 = var6[var9 + 4];
            if (var1 != 0 && (var16 & 255 & 128) != 0) {
               var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 1) & '\uffff';
               var11 += var1;
               if (var11 > 65535) {
                  char var17 = '\uffff';
               } else {
                  if (var11 < 0) {
                     var6[var9] = (byte)((var6[var9] & 255) + 6);
                     var9 += 5;
                     break;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 1, 2);
               }
            }

            if (var4 != 0 && (var16 & 255 & 64) != 0) {
               var12 = (var6[var9 + 3] & 255) + var4;
               if (var12 < 0) {
                  var6[var9] = (byte)((var6[var9] & 255) + 6);
                  var9 += 5;
                  break;
               }

               if (var12 > 255) {
                  var12 = 255;
               }

               var6[var9 + 3] = (byte)var12;
            }

            var9 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var1 != 0) {
               var16 = var6[var9 + 6];
               if ((var16 & 255 & 128) != 0) {
                  var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 1) & '\uffff';
                  var11 += var1;
                  if (var11 > 65535) {
                     var11 = 65535;
                  } else if (var11 < 0) {
                     var11 = 0;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 1, 2);
               }

               var16 = var6[var9 + 8];
               if ((var16 & 255 & 128) != 0) {
                  var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 3) & '\uffff';
                  var11 += var1;
                  if (var11 > 65535) {
                     var11 = 65535;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 3, 2);
               }
            }

            if (var4 != 0) {
               var16 = var6[var9 + 6];
               if ((var16 & 255 & 64) != 0) {
                  var12 = (var6[var9 + 5] & 255) + var4;
                  if (var12 < 0) {
                     var6[var9] = (byte)((var6[var9] & 255) + 6);
                     var9 += 9;
                     break;
                  }

                  if (var12 > 255) {
                     var12 = 255;
                  }

                  var6[var9 + 5] = (byte)var12;
               }

               var16 = var6[var9 + 8];
               if ((var16 & 255 & 64) != 0) {
                  var12 = (var6[var9 + 7] & 255) + var4;
                  if (var12 < 0) {
                     var12 = 0;
                  } else if (var12 > 255) {
                     var12 = 255;
                  }

                  var6[var9 + 7] = (byte)var12;
               }
            }

            var9 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var9 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var9 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var9 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var9 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var9 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var9 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var9 += 7;
            break;
         case 58:
         case 90:
         case 122:
            if (var1 != 0 && zyo.a(var6[var9 + 6])) {
               var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 3) & '\uffff';
               var11 += var1;
               if (var11 > 65535) {
                  var11 = 65535;
               } else if (var11 < 0) {
                  var11 = 0;
               }

               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 3, 2);
            }

            if (var4 != 0 && zyo.b(var6[var9 + 6])) {
               var12 = var6[var9 + 5] & 255;
               var12 += var4;
               if (var12 < 0) {
                  var6[var9] = (byte)((var6[var9] & 255) + 2);
                  var9 += 7;
                  break;
               }

               if (var12 > 255) {
                  var12 = 255;
               }

               var6[var9 + 5] = (byte)var12;
            }

            var9 += 7;
            break;
         case 59:
         case 91:
         case 123:
            if (var1 != 0) {
               if (zyo.a(var6[var9 + 8])) {
                  var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 3) & '\uffff';
                  var11 += var1;
                  if (var11 > 65535) {
                     var11 = 65535;
                  } else if (var11 < 0) {
                     var11 = 0;
                  } else if (var11 < var2 & var1 < 0) {
                     var11 = var2;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 3, 2);
               }

               if (zyo.a(var6[var9 + 10])) {
                  var11 = com.aspose.cells.b.a.zc.e(var6, var9 + 5) & '\uffff';
                  if (var11 != 65535) {
                     var11 += var1;
                     if (var11 > 65535) {
                        var11 = 65535;
                     }

                     if (var11 < var2 & var1 < 0) {
                        var11 = var2;
                     }

                     System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var6, var9 + 5, 2);
                  }
               }
            }

            if (var4 != 0) {
               if (zyo.b(var6[var9 + 8])) {
                  var12 = var6[var9 + 7] & 255;
                  var12 += var4;
                  if (var12 < 0) {
                     var6[var9] = (byte)((var6[var9] & 255) + 2);
                     var9 += 11;
                     break;
                  }

                  if (var12 > 255) {
                     var12 = 255;
                  }

                  var6[var9 + 7] = (byte)var12;
               }

               if (zyo.b(var6[var9 + 10])) {
                  var12 = var6[var9 + 9] & 255;
                  var12 += var4;
                  if (var12 > 255) {
                     var12 = 255;
                  }

                  if (var12 < var5) {
                     var12 = var5;
                  }

                  var6[var9 + 9] = (byte)var12;
               }
            }

            var9 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var9 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var9 += 11;
         }
      }

   }

   static boolean a(HashMap var0, HashMap var1, Worksheet var2, Worksheet var3, HashMap var4, int var5, int var6, int var7, byte[] var8) {
      WorksheetCollection var9 = var2.c();
      WorksheetCollection var10 = var3.c();
      boolean var11 = var9 != var10;
      int var12 = var6;
      int var13 = var7;
      if (var6 == -1) {
         var12 = 2;
         var13 = var12 + (com.aspose.cells.b.a.zc.e(var8, 0) & '\uffff');
      }

      boolean var14 = false;

      while(var12 < var13) {
         int var16;
         int var22;
         switch(var8[var12]) {
         case 1:
         case 2:
            var12 += 7;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var12;
            break;
         case 23:
            int var15 = com.aspose.cells.b.a.zc.e(var8, var12 + 1) & '\uffff';
            var12 += var15 * 2 + 3;
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return false;
         case 25:
            switch(var8[var12 + 1]) {
            case 1:
               var12 += 4;
               continue;
            case 2:
               var12 += 4;
               continue;
            case 4:
               var16 = com.aspose.cells.b.a.zc.e(var8, var12 + 2);
               var12 += (var16 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var12 += 4;
               continue;
            case 16:
               var12 += 4;
               continue;
            case 32:
               var12 += 4;
               continue;
            case 64:
               var12 += 4;
               continue;
            default:
               var12 += 4;
               continue;
            }
         case 28:
         case 29:
            var12 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var12 += 3;
            break;
         case 31:
            var12 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var12 += 15;
            break;
         case 34:
         case 66:
         case 98:
            var12 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var16 = (com.aspose.cells.b.a.zc.e(var8, var12 + 1) & '\uffff') - 1;
            int var17 = -1;
            if (var1.get(var16) != null) {
               var17 = (Integer)var1.get(var16) + 1;
            } else if (var11) {
               Name var18 = var9.getNames().get(var16);
               if (var18.getSheetIndex() != -1) {
                  return false;
               }

               int var19 = var3.getIndex();
               if (var10.getNames().a(var18.getText(), -1, false) == -1) {
                  var19 = -1;
               }

               int var20 = var10.getNames().a(var19, var18.i());
               Name var21 = var10.getNames().get(var20);
               var21.b(var18);
               var1.put(var16, var20);
               var17 = var20 + 1;
            }

            System.arraycopy(com.aspose.cells.b.a.zc.a(var17), 0, var8, var12 + 1, 2);
            var12 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var12 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var12 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var12 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var12 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var12 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var12 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var12 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var12 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var22 = com.aspose.cells.b.a.zc.e(var8, var12 + 1) & '\uffff';
            if (var0.get(var22) == null) {
               if (var11) {
                  var16 = var9.q().c(var22);
                  if (var9.u() == var16) {
                     return false;
                  }

                  var22 = zup.a(var22, var9, var10, var0, var4);
                  if (var22 == -1) {
                     return false;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
               }
            } else {
               var22 = (Integer)var0.get(var22);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
            }

            var12 += 7;
            break;
         case 58:
         case 60:
         case 90:
         case 92:
         case 122:
         case 124:
            var22 = com.aspose.cells.b.a.zc.e(var8, var12 + 1) & '\uffff';
            if (var0.get(var22) == null) {
               if (var11) {
                  var22 = zup.a(var22, var9, var10, var0, var4);
                  if (var22 == -1) {
                     var22 = var5;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
               }
            } else {
               var22 = (Integer)var0.get(var22);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
            }

            var12 += 7;
            break;
         case 59:
         case 61:
         case 91:
         case 93:
         case 123:
         case 125:
            var22 = com.aspose.cells.b.a.zc.e(var8, var12 + 1) & '\uffff';
            if (var0.get(var22) == null) {
               if (var11) {
                  var22 = zup.a(var22, var9, var10, var0, var4);
                  if (var22 == -1) {
                     var22 = var5;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
               }
            } else {
               var22 = (Integer)var0.get(var22);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var22), 0, var8, var12 + 1, 2);
            }

            var12 += 11;
         }
      }

      return true;
   }

   static void a(HashMap var0, boolean var1, int var2, int var3, int var4, byte[] var5) {
      int var6 = var3;
      int var7 = var4;
      if (var3 == -1) {
         var6 = 2;
         var7 = var6 + (com.aspose.cells.b.a.zc.e(var5, 0) & '\uffff');
      }

      boolean var8 = false;

      while(var6 < var7) {
         int var11;
         switch(var5[var6]) {
         case 1:
            var6 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var6;
            break;
         case 23:
            byte var9 = var5[var6 + 1];
            if (var5[var6 + 2] == 0) {
               var6 += (var9 & 255) + 3 & '\uffff';
            } else {
               var6 += (var9 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var5[var6 + 1]) {
            case 1:
               var6 += 4;
               continue;
            case 2:
               var6 += 4;
               continue;
            case 4:
               int var10 = com.aspose.cells.b.a.zc.e(var5, var6 + 2);
               var6 += (var10 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var6 += 4;
               continue;
            case 16:
               var6 += 4;
               continue;
            case 32:
               var6 += 4;
               continue;
            case 64:
               var6 += 4;
               continue;
            default:
               var6 += 4;
               continue;
            }
         case 28:
         case 29:
            var6 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var6 += 3;
            break;
         case 31:
            var6 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var6 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var6 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var6 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var6 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var6 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var6 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var6 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var6 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var6 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var6 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var6 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var6 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var11 = com.aspose.cells.b.a.zc.e(var5, var6 + 1) & '\uffff';
            if (var0.get(var11) == null) {
               if (!var1) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var5, var6 + 1, 2);
               }
            } else {
               var11 = (Integer)var0.get(var11);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var5, var6 + 1, 2);
            }

            var6 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var11 = com.aspose.cells.b.a.zc.e(var5, var6 + 1) & '\uffff';
            if (var0.get(var11) == null) {
               if (!var1) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var5, var6 + 1, 2);
               }
            } else {
               var11 = (Integer)var0.get(var11);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var5, var6 + 1, 2);
            }

            var6 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var11 = com.aspose.cells.b.a.zc.e(var5, var6 + 1) & '\uffff';
            if (var0.get(var11) == null) {
               if (!var1) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var5, var6 + 1, 2);
               }
            } else {
               var11 = (Integer)var0.get(var11);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var5, var6 + 1, 2);
            }

            var6 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var11 = com.aspose.cells.b.a.zc.e(var5, var6 + 1) & '\uffff';
            if (var0.get(var11) == null) {
               if (!var1) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var5, var6 + 1, 2);
               }
            } else {
               var11 = (Integer)var0.get(var11);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var5, var6 + 1, 2);
            }

            var6 += 11;
         }
      }

   }

   static void a(Worksheet var0, boolean var1, int var2, int var3, int var4, int var5, int var6, int var7, byte[] var8) {
      int var9 = var6;
      int var10 = var7;
      if (var6 == -1) {
         var9 = 2;
         var10 = var9 + (com.aspose.cells.b.a.zc.e(var8, 0) & '\uffff');
      }

      while(var9 < var10) {
         int var11;
         int var12;
         int var13;
         int[] var15;
         int[] var16;
         boolean var17;
         boolean var20;
         boolean var21;
         int[] var23;
         switch(var8[var9]) {
         case 1:
            if (var1) {
               var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
               if (var11 >= var2) {
                  var11 += var3;
                  if (var11 > 65535) {
                     var11 = 65535;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 1, 2);
               }
            }

            var9 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var9;
            break;
         case 23:
            byte var14 = var8[var9 + 1];
            if (var8[var9 + 2] == 0) {
               var9 += (var14 & 255) + 3 & '\uffff';
            } else {
               var9 += (var14 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var8[var9 + 1] == 25) {
               var9 += 14;
            } else if (var8[var9 + 1] == 29) {
               var9 += 6;
            } else {
               ++var9;
            }
            break;
         case 25:
            switch(var8[var9 + 1]) {
            case 1:
               var9 += 4;
               continue;
            case 2:
               var9 += 4;
               continue;
            case 4:
               int var22 = com.aspose.cells.b.a.zc.e(var8, var9 + 4);
               var9 += (var22 & '\uffff') + 4;
               continue;
            case 8:
               var9 += 4;
               continue;
            case 16:
               var9 += 4;
               continue;
            case 32:
               var9 += 4;
               continue;
            case 64:
               var9 += 4;
               continue;
            default:
               var9 += 4;
               continue;
            }
         case 28:
         case 29:
            var9 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var9 += 3;
            break;
         case 31:
            var9 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var9 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var9 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var9 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var1) {
               var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
               var15 = new int[]{var11};
               var21 = a(var2, var3, var15, 65535);
               var11 = var15[0];
               if (var21) {
                  var8[var9] = (byte)((var8[var9] & 255) + 6);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 1, 2);
               }
            }

            var9 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var1) {
               var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
               var13 = com.aspose.cells.b.a.zc.e(var8, var9 + 3) & '\uffff';
               if (var11 == 0 && var13 == 65535) {
                  var9 += 9;
                  break;
               }

               var15 = new int[]{var11};
               var16 = new int[]{var13};
               var17 = a(var2, var3, var15, var16, 65535);
               var11 = var15[0];
               var13 = var16[0];
               if (var17) {
                  var8[var9] = (byte)((var8[var9] & 255) + 6);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 1, 2);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var13), 0, var8, var9 + 3, 2);
               }
            }

            var9 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var9 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var9 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var9 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var9 += 9;
            break;
         case 44:
         case 76:
         case 108:
            if (var1) {
               var20 = zyo.a(var8[var9 + 4]);
               if (var20) {
                  var11 = com.aspose.cells.b.a.zc.b(var8, var9 + 1) + var4;
               } else {
                  var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
               }

               var21 = var11 == var4;
               var23 = new int[]{var11};
               boolean var24 = a(var2, var3, var23, 65535);
               var11 = var23[0];
               if (var24) {
                  if (!var21) {
                     var8[var9] = (byte)((var8[var9] & 255) - 2);
                  }
               } else if (var20) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var11 - var5)), 0, var8, var9 + 1, 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 1, 2);
               }
            }

            var9 += 5;
            break;
         case 45:
         case 77:
         case 109:
            if (var1) {
               var20 = zyo.a(var8[var9 + 6]);
               var21 = zyo.a(var8[var9 + 8]);
               if (var20) {
                  var11 = com.aspose.cells.b.a.zc.b(var8, var9 + 1) + var4;
               } else {
                  var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
               }

               if (var21) {
                  var13 = com.aspose.cells.b.a.zc.b(var8, var9 + 3) + var4;
               } else {
                  var13 = com.aspose.cells.b.a.zc.e(var8, var9 + 3) & '\uffff';
               }

               var23 = new int[]{var11};
               int[] var18 = new int[]{var13};
               boolean var19 = a(var2, var3, var23, var18, 65535);
               var11 = var23[0];
               var13 = var18[0];
               if (var19) {
                  var8[var9] = (byte)((var8[var9] & 255) - 2);
               } else {
                  if (var20) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var11 - var5)), 0, var8, var9 + 1, 2);
                  } else {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 1, 2);
                  }

                  if (var21) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var13 - var5)), 0, var8, var9 + 3, 2);
                  } else {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var13), 0, var8, var9 + 3, 2);
                  }
               }
            }

            var9 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var9 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var12 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
            if (var0.c().q().d(var12) != var0.getIndex()) {
               var9 += 7;
            } else {
               var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 3) & '\uffff';
               var15 = new int[]{var11};
               var21 = a(var2, var3, var15, 65535);
               var11 = var15[0];
               if (var21) {
                  var8[var9] = (byte)((var8[var9] & 255) + 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 3, 2);
               }

               var9 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            var12 = com.aspose.cells.b.a.zc.e(var8, var9 + 1) & '\uffff';
            if (var0.c().q().d(var12) != var0.getIndex()) {
               var9 += 11;
            } else {
               var11 = com.aspose.cells.b.a.zc.e(var8, var9 + 3) & '\uffff';
               var13 = com.aspose.cells.b.a.zc.e(var8, var9 + 5) & '\uffff';
               if (var11 == 0 && var13 == 65535) {
                  var9 += 11;
                  continue;
               }

               var15 = new int[]{var11};
               var16 = new int[]{var13};
               var17 = a(var2, var3, var15, var16, 65535);
               var11 = var15[0];
               var13 = var16[0];
               if (var17) {
                  var8[var9] = (byte)((var8[var9] & 255) + 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8, var9 + 3, 2);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var13), 0, var8, var9 + 5, 2);
               }

               var9 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var9 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var9 += 11;
         }
      }

   }

   static void a(Worksheet var0, boolean var1, int var2, int var3, int var4, int var5, int var6, int var7, byte[][] var8) {
      int var12 = var6;
      int var13 = var7;
      if (var6 == -1) {
         var12 = 2;
         var13 = var12 + (com.aspose.cells.b.a.zc.e(var8[0], 0) & '\uffff');
      }

      while(var12 < var13) {
         int var9;
         int var10;
         int var11;
         int[] var15;
         int[] var16;
         boolean var17;
         boolean var20;
         boolean var21;
         switch(var8[0][var12]) {
         case 1:
            if (var1) {
               var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
               if (var9 >= var2) {
                  var9 += var3;
                  if (var9 > 65535) {
                     var9 = 65535;
                  }

                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 1, 2);
               }
            }

            var12 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var12;
            break;
         case 23:
            byte var14 = var8[0][var12 + 1];
            if (var8[0][var12 + 2] == 0) {
               var12 += (var14 & 255) + 3 & '\uffff';
            } else {
               var12 += (var14 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var8[0][var12 + 1] == 25) {
               var12 += 14;
            } else if (var8[0][var12 + 1] == 29) {
               var12 += 6;
            } else {
               ++var12;
            }
            break;
         case 25:
            switch(var8[0][var12 + 1]) {
            case 1:
               var12 += 4;
               continue;
            case 2:
               var12 += 4;
               continue;
            case 4:
               int var22 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 2);
               var12 += (var22 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var12 += 4;
               continue;
            case 16:
               var12 += 4;
               continue;
            case 32:
               var12 += 4;
               continue;
            case 64:
               var12 += 4;
               continue;
            default:
               var12 += 4;
               continue;
            }
         case 28:
         case 29:
            var12 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var12 += 3;
            break;
         case 31:
            var12 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var12 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var12 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var12 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var1 & zyo.a(var8[0][var12 + 4])) {
               var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
               var15 = new int[]{var9};
               var21 = a(var2, var3, var15, 65535);
               var9 = var15[0];
               if (var21) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) + 6);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 1, 2);
               }
            }

            var12 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var1) {
               var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
               var11 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 3) & '\uffff';
               var15 = new int[]{var9};
               var16 = new int[]{var11};
               var17 = a(var2, var3, var15, var8[0][var12 + 6], var16, var8[0][var12 + 8], 65535);
               var9 = var15[0];
               var11 = var16[0];
               if (var17) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) + 6);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 1, 2);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8[0], var12 + 3, 2);
               }
            }

            var12 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var12 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var12 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var12 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var12 += 9;
            break;
         case 44:
         case 76:
         case 108:
            if (var1) {
               var20 = zyo.a(var8[0][var12 + 4]);
               if (var20) {
                  var9 = com.aspose.cells.b.a.zc.b(var8[0], var12 + 1) + var4;
               } else {
                  var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
               }

               var16 = new int[]{var9};
               var17 = a(var2, var3, var16, 65535);
               var9 = var16[0];
               if (var17) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) - 2);
               } else if (var20) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var9 - var5)), 0, var8[0], var12 + 1, 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 1, 2);
               }
            }

            var12 += 5;
            break;
         case 45:
         case 77:
         case 109:
            if (var1) {
               var20 = zyo.a(var8[0][var12 + 6]);
               var21 = zyo.a(var8[0][var12 + 8]);
               if (var20) {
                  var9 = com.aspose.cells.b.a.zc.b(var8[0], var12 + 1) + var4;
               } else {
                  var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
               }

               if (var21) {
                  var11 = com.aspose.cells.b.a.zc.b(var8[0], var12 + 3) + var4;
               } else {
                  var11 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 3) & '\uffff';
               }

               int[] var23 = new int[]{var9};
               int[] var18 = new int[]{var11};
               boolean var19 = a(var2, var3, var23, var18, 65535);
               var9 = var23[0];
               var11 = var18[0];
               if (var19) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) - 2);
               } else {
                  if (var20) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var9 - var5)), 0, var8[0], var12 + 1, 2);
                  } else {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 1, 2);
                  }

                  if (var21) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a((short)(var11 - var5)), 0, var8[0], var12 + 3, 2);
                  } else {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8[0], var12 + 3, 2);
                  }
               }
            }

            var12 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var12 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var10 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
            if (var0.c().q().d(var10) == var0.getIndex() && zyo.a(var8[0][var12 + 6])) {
               var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 3) & '\uffff';
               var15 = new int[]{var9};
               var21 = a(var2, var3, var15, 65535);
               var9 = var15[0];
               if (var21) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) + 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 3, 2);
               }

               var12 += 7;
               break;
            }

            var12 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var10 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 1) & '\uffff';
            if (var0.c().q().d(var10) != var0.getIndex()) {
               var12 += 11;
            } else {
               var9 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 3) & '\uffff';
               var11 = com.aspose.cells.b.a.zc.e(var8[0], var12 + 5) & '\uffff';
               var15 = new int[]{var9};
               var16 = new int[]{var11};
               var17 = a(var2, var3, var15, var8[0][var12 + 8], var16, var8[0][var12 + 10], 65535);
               var9 = var15[0];
               var11 = var16[0];
               if (var17) {
                  var8[0][var12] = (byte)((var8[0][var12] & 255) + 2);
               } else {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var8[0], var12 + 3, 2);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var11), 0, var8[0], var12 + 5, 2);
               }

               var12 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var12 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var12 += 11;
         }
      }

   }

   static void b(Worksheet var0, boolean var1, int var2, int var3, int var4, int var5, int var6, int var7, byte[] var8) {
      int var11 = var6;
      int var12 = var7;
      if (var6 == -1) {
         var11 = 2;
         var12 = var11 + (com.aspose.cells.b.a.zc.e(var8, 0) & '\uffff');
      }

      boolean var13 = false;

      while(var11 < var12) {
         int var9;
         int var10;
         int[] var15;
         int[] var16;
         boolean var17;
         int var20;
         boolean var21;
         boolean var22;
         switch(var8[var11]) {
         case 1:
            if (var1) {
               var9 = var8[var11 + 3] & 255;
               if (var9 >= var2) {
                  var9 += var3;
                  if (var9 > 255) {
                     var9 = 255;
                  }

                  var8[var11 + 3] = (byte)var9;
               }
            }

            var11 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var11;
            break;
         case 23:
            byte var14 = var8[var11 + 1];
            if (var8[var11 + 2] == 0) {
               var11 += (var14 & 255) + 3 & '\uffff';
            } else {
               var11 += (var14 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var8[var11 + 1] == 25) {
               var11 += 14;
            } else if (var8[var11 + 1] == 29) {
               var11 += 6;
            } else {
               ++var11;
            }
            break;
         case 25:
            switch(var8[var11 + 1]) {
            case 1:
               var11 += 4;
               continue;
            case 2:
               var11 += 4;
               continue;
            case 4:
               int var23 = com.aspose.cells.b.a.zc.e(var8, var11 + 4);
               var11 += (var23 & '\uffff') + 4;
               continue;
            case 8:
               var11 += 4;
               continue;
            case 16:
               var11 += 4;
               continue;
            case 32:
               var11 += 4;
               continue;
            case 64:
               var11 += 4;
               continue;
            default:
               var11 += 4;
               continue;
            }
         case 28:
         case 29:
            var11 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var11 += 3;
            break;
         case 31:
            var11 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var11 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var11 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var11 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var1) {
               var9 = var8[var11 + 3] & 255;
               var15 = new int[]{var9};
               var22 = a(var2, var3, var15, 255);
               var9 = var15[0];
               if (var22) {
                  var8[var11] = (byte)((var8[var11] & 255) + 6);
               } else {
                  var8[var11 + 3] = (byte)var9;
               }
            }

            var11 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var1) {
               var9 = var8[var11 + 5] & 255;
               var20 = var8[var11 + 7] & 255;
               if (var9 == 0 && var20 == 255) {
                  var11 += 9;
                  break;
               }

               var15 = new int[]{var9};
               var16 = new int[]{var20};
               var17 = a(var2, var3, var15, var16, 255);
               var9 = var15[0];
               var20 = var16[0];
               if (var17) {
                  var8[var11] = (byte)((var8[var11] & 255) + 6);
               } else {
                  var8[var11 + 5] = (byte)var9;
                  var8[var11 + 7] = (byte)var20;
               }
            }

            var11 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var11 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var11 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var11 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var11 += 9;
            break;
         case 44:
         case 76:
         case 108:
            if (var1) {
               var21 = zyo.b(var8[var11 + 4]);
               var9 = var8[var11 + 3] & 255;
               if (var21) {
                  if (var9 < 127) {
                     var9 += var4;
                  } else {
                     var9 = var9 - 255 - 1 + var4;
                  }
               }

               var16 = new int[]{var9};
               var17 = a(var2, var3, var16, 255);
               var9 = var16[0];
               if (var17) {
                  var8[var11] = (byte)((var8[var11] & 255) - 2);
               } else if (var21) {
                  if (var9 > var5) {
                     var8[var11 + 3] = (byte)(var9 - var5);
                  } else {
                     var8[var11 + 3] = (byte)(255 - var5 + var9 + 1);
                  }
               } else {
                  var8[var11 + 3] = (byte)var9;
               }
            }

            var11 += 5;
            break;
         case 45:
         case 77:
         case 109:
            if (var1) {
               var21 = zyo.b(var8[var11 + 6]);
               var22 = zyo.b(var8[var11 + 8]);
               var9 = var8[var11 + 5] & 255;
               if (var21) {
                  var9 = var8[var11 + 5] & 255;
                  if (var9 < 127) {
                     var9 += var4;
                  } else {
                     var9 = var9 - 255 - 1 + var4;
                  }
               }

               var20 = var8[var11 + 7] & 255;
               if (var21) {
                  if (var20 < 127) {
                     var20 += var4;
                  } else {
                     var20 = var20 - 255 - 1 + var4;
                  }
               }

               int[] var24 = new int[]{var9};
               int[] var18 = new int[]{var20};
               boolean var19 = a(var2, var3, var24, var18, 255);
               var9 = var24[0];
               var20 = var18[0];
               if (var19) {
                  var8[var11] = (byte)((var8[var11] & 255) - 2);
               } else {
                  if (var21) {
                     if (var9 > var5) {
                        var8[var11 + 5] = (byte)(var9 - var5);
                     } else {
                        var8[var11 + 5] = (byte)(255 - var5 + var9 + 1);
                     }
                  } else {
                     var8[var11 + 5] = (byte)var9;
                  }

                  if (var22) {
                     if (var20 > var5) {
                        var8[var11 + 7] = (byte)(var20 - var5);
                     } else {
                        var8[var11 + 7] = (byte)(255 - var5 + var20 + 1);
                     }
                  } else {
                     var8[var11 + 7] = (byte)var20;
                  }
               }
            }

            var11 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var11 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var10 = com.aspose.cells.b.a.zc.e(var8, var11 + 1) & '\uffff';
            if (var0.c().q().d(var10) != var0.getIndex()) {
               var11 += 7;
            } else {
               var9 = var8[var11 + 5] & 255;
               var15 = new int[]{var9};
               var22 = a(var2, var3, var15, 255);
               var9 = var15[0];
               if (var22) {
                  var8[var11] = (byte)((var8[var11] & 255) + 2);
               } else {
                  var8[var11 + 5] = (byte)var9;
               }

               var11 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            var10 = com.aspose.cells.b.a.zc.e(var8, var11 + 1) & '\uffff';
            if (var0.c().q().d(var10) != var0.getIndex()) {
               var11 += 11;
            } else {
               var9 = var8[var11 + 7] & 255;
               var20 = var8[var11 + 9] & 255;
               if (var9 == 0 && var20 == 255) {
                  var11 += 11;
                  continue;
               }

               var15 = new int[]{var9};
               var16 = new int[]{var20};
               var17 = a(var2, var3, var15, var16, 255);
               var9 = var15[0];
               var20 = var16[0];
               if (var17) {
                  var8[var11] = (byte)((var8[var11] & 255) + 2);
               } else {
                  var8[var11 + 7] = (byte)var9;
                  var8[var11 + 9] = (byte)var20;
               }

               var11 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var11 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var11 += 11;
         }
      }

   }

   static boolean a(int var0, int var1, byte[] var2, int var3, int var4, int var5, int var6, int var7, Cells var8, boolean var9, HashMap var10) {
      WorksheetCollection var11 = var8.r();
      int var12 = var3;
      int var13 = var4;
      if (var3 == -1) {
         var12 = 2;
         var13 = (com.aspose.cells.b.a.zc.e(var2, 0) & '\uffff') + 2;
      }

      boolean var14 = false;
      boolean var15 = false;
      boolean var16 = false;
      boolean var17 = false;
      boolean var18 = false;

      while(var12 < var13) {
         int var21;
         int var22;
         int var23;
         int var24;
         int var25;
         int var26;
         switch(var2[var12]) {
         case 1:
            var23 = com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff';
            var24 = var2[var12 + 3] & 255;
            Cell var19 = var8.checkCell(var23, var24);
            if (var19 != null) {
               zaz var27 = var19.D();
               var2 = var27.d();
               return a(var0, var1, var2, -1, -1, var5, var6, var7, var8, var9, var10);
            }

            var12 += 5;
            break;
         case 2:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return false;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var12;
            break;
         case 23:
            byte var20 = var2[var12 + 1];
            if (var2[var12 + 2] == 0) {
               var12 += (var20 & 255) + 3 & '\uffff';
            } else {
               var12 += (var20 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
            if (var2[var12 + 1] == 25) {
               var12 += 14;
            } else if (var2[var12 + 1] == 29) {
               var12 += 6;
            } else {
               ++var12;
            }
            break;
         case 25:
            switch(var2[var12 + 1]) {
            case 1:
               var12 += 4;
               continue;
            case 2:
               var12 += 4;
               continue;
            case 4:
               var21 = com.aspose.cells.b.a.zc.e(var2, var12 + 2);
               var12 += (var21 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var12 += 4;
               continue;
            case 16:
               var12 += 4;
               continue;
            case 32:
               var12 += 4;
               continue;
            case 64:
               var12 += 4;
               continue;
            default:
               var12 += 4;
               continue;
            }
         case 28:
         case 29:
            var12 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var12 += 3;
            break;
         case 31:
            var12 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var12 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var12 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var21 = (com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff') - 1;
            if (var10.get(var21) != null) {
               return true;
            }

            var12 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var9) {
               var23 = com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff';
               var24 = var2[var12 + 3] & 255;
               if (var23 == var5 && var24 == var6) {
                  return true;
               }
            }

            var12 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var9) {
               var23 = com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff';
               var25 = com.aspose.cells.b.a.zc.e(var2, var12 + 3) & '\uffff';
               var24 = var2[var12 + 5] & 255;
               var26 = var2[var12 + 7] & 255;
               if (var5 >= var23 && var5 <= var25 && var6 >= var24 && var6 <= var26) {
                  return true;
               }
            }

            var12 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var12 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var12 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var12 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var12 += 9;
            break;
         case 44:
         case 76:
         case 108:
            if (var9) {
               var23 = zbwe.a(var2, var12 + 1, var0, var2[var12 + 4]);
               var24 = zbwe.b(var2, var12 + 3, var1, var2[var12 + 4]);
               if (var23 == var5 && var24 == var6) {
                  return true;
               }
            }

            var12 += 5;
            break;
         case 45:
         case 77:
         case 109:
            if (var9) {
               var23 = zbwe.a(var2, var12 + 1, var0, var2[var12 + 6]);
               var25 = zbwe.a(var2, var12 + 3, var0, var2[var12 + 8]);
               var24 = zbwe.b(var2, var12 + 5, var1, var2[var12 + 6]);
               var26 = zbwe.b(var2, var12 + 7, var1, var2[var12 + 8]);
               if (var5 >= var23 && var5 <= var25 && var6 >= var24 && var6 <= var26) {
                  return true;
               }
            }

            var12 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var12 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var22 = com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff';
            if (var22 == var7) {
               var23 = com.aspose.cells.b.a.zc.e(var2, var12 + 3) & '\uffff';
               var24 = var2[var12 + 5] & 255;
               if (var23 == var5 && var24 == var6) {
                  return true;
               }
            }

            var12 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var22 = com.aspose.cells.b.a.zc.e(var2, var12 + 1) & '\uffff';
            if (var7 == var22) {
               var23 = com.aspose.cells.b.a.zc.e(var2, var12 + 3) & '\uffff';
               var25 = com.aspose.cells.b.a.zc.e(var2, var12 + 5) & '\uffff';
               var24 = var2[var12 + 7] & 255;
               var26 = var2[var12 + 9] & 255;
               if (var5 >= var23 && var5 <= var25 && var6 >= var24 && var6 <= var26) {
                  return true;
               }
            }

            var12 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var12 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var12 += 11;
         }
      }

      return false;
   }

   static boolean a(byte[] var0, int var1, int var2, WorksheetCollection var3) {
      int var4 = var1;
      int var5 = var2;
      if (var1 == -1) {
         var4 = 2;
         var5 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + 2;
      }

      boolean var6 = false;

      while(var4 < var5) {
         int var9;
         switch(var0[var4]) {
         case 1:
            var4 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return false;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var4;
            break;
         case 23:
            byte var7 = var0[var4 + 1];
            if (var0[var4 + 2] == 0) {
               var4 += (var7 & 255) + 3 & '\uffff';
            } else {
               var4 += (var7 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var0[var4 + 1]) {
            case 1:
               var4 += 4;
               continue;
            case 2:
               var4 += 4;
               continue;
            case 4:
               int var8 = com.aspose.cells.b.a.zc.e(var0, var4 + 2);
               var4 += (var8 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var4 += 4;
               continue;
            case 16:
               var4 += 4;
               continue;
            case 32:
               var4 += 4;
               continue;
            case 64:
               var4 += 4;
               continue;
            default:
               var4 += 4;
               continue;
            }
         case 28:
         case 29:
            var4 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var4 += 3;
            break;
         case 31:
            var4 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var4 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var4 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var4 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var4 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var4 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var4 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var4 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var4 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var4 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var4 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var4 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var9 = com.aspose.cells.b.a.zc.e(var0, var4 + 1) & '\uffff';
            if (var3.q().c(var9) != var3.u()) {
               return true;
            }

            var4 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var9 = com.aspose.cells.b.a.zc.e(var0, var4 + 1) & '\uffff';
            if (var3.q().c(var9) != var3.u()) {
               return true;
            }

            var4 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var9 = com.aspose.cells.b.a.zc.e(var0, var4 + 1) & '\uffff';
            if (var3.q().c(var9) != var3.u()) {
               return true;
            }

            var4 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var9 = com.aspose.cells.b.a.zc.e(var0, var4 + 1) & '\uffff';
            if (var3.q().c(var9) != var3.u()) {
               return true;
            }

            var4 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var9 = com.aspose.cells.b.a.zc.e(var0, var4 + 1) & '\uffff';
            if (var3.q().c(var9) != var3.u()) {
               return true;
            }

            var4 += 11;
         }
      }

      return false;
   }

   static boolean a(byte[] var0, int var1, int var2, WorksheetCollection var3, HashMap var4, HashMap var5) {
      int var6 = var1;
      int var7 = var2;
      if (var1 == -1) {
         var6 = 2;
         var7 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + 2;
      }

      boolean var8 = false;

      while(var6 < var7) {
         int var10;
         int var11;
         switch(var0[var6]) {
         case 1:
            var6 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return false;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var6;
            break;
         case 23:
            byte var9 = var0[var6 + 1];
            if (var0[var6 + 2] == 0) {
               var6 += (var9 & 255) + 3 & '\uffff';
            } else {
               var6 += (var9 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var0[var6 + 1]) {
            case 1:
               var6 += 4;
               continue;
            case 2:
               var6 += 4;
               continue;
            case 4:
               var10 = com.aspose.cells.b.a.zc.e(var0, var6 + 2);
               var6 += (var10 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var6 += 4;
               continue;
            case 16:
               var6 += 4;
               continue;
            case 32:
               var6 += 4;
               continue;
            case 64:
               var6 += 4;
               continue;
            default:
               var6 += 4;
               continue;
            }
         case 28:
         case 29:
            var6 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var6 += 3;
            break;
         case 31:
            var6 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var6 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var6 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var10 = (com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff') - 1;
            if (var5.get(var10) != null && (Boolean)var5.get(var10)) {
               return true;
            }

            var6 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var6 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var6 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var6 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var6 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var6 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var6 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var6 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var6 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var11 = com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff';
            if (var4.get(var11) != null) {
               return true;
            }

            var6 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var11 = com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff';
            if (var4.get(var11) != null) {
               return true;
            }

            var6 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var11 = com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff';
            if (var4.get(var11) != null) {
               return true;
            }

            var6 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var11 = com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff';
            if (var4.get(var11) != null) {
               return true;
            }

            var6 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var11 = com.aspose.cells.b.a.zc.e(var0, var6 + 1) & '\uffff';
            if (var4.get(var11) != null) {
               return true;
            }

            var6 += 11;
         }
      }

      return false;
   }

   static void a(byte[] var0, int var1, int var2, HashMap var3, WorksheetCollection var4) {
      int var5 = var1;
      int var6 = var2;
      if (var1 == -1) {
         var5 = 2;
         var6 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var5;
      }

      while(var5 < var6) {
         int var8;
         switch(var0[var5]) {
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var5;
            break;
         case 23:
            byte var7 = var0[var5 + 1];
            if (var0[var5 + 2] == 0) {
               var5 += (var7 & 255) + 3 & '\uffff';
            } else {
               var5 += (var7 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 25:
            switch(var0[var5 + 1]) {
            case 1:
               var5 += 4;
               continue;
            case 2:
               var5 += 4;
               continue;
            case 4:
               var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 2);
               var5 += (var8 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var5 += 4;
               continue;
            case 16:
               var5 += 4;
               continue;
            case 32:
               var5 += 4;
               continue;
            case 64:
               var5 += 4;
               continue;
            default:
               var5 += 4;
               continue;
            }
         case 28:
         case 29:
            var5 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var5 += 3;
            break;
         case 31:
            var5 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var5 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var5 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var8 = (com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff') - 1;
            if (var3.get(var8) != null) {
               var3.put(var8, true);
            }

            var5 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var5 += 5;
            break;
         case 37:
         case 43:
         case 45:
         case 69:
         case 75:
         case 77:
         case 101:
         case 107:
         case 109:
            var5 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var5 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var5 += 3;
            break;
         case 42:
         case 44:
         case 74:
         case 76:
         case 106:
         case 108:
            var5 += 5;
            break;
         case 57:
         case 89:
         case 121:
            int var9 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            if ((var4.q().b(var9).a & '\uffff') == var4.u()) {
               int var10 = (com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff') - 1;
               if (var3.get(var10) != null) {
                  var3.put(var10, true);
               }
            }

            var5 += 7;
            break;
         case 58:
         case 60:
         case 90:
         case 92:
         case 122:
         case 124:
            var5 += 7;
            break;
         case 59:
         case 61:
         case 91:
         case 93:
         case 123:
         case 125:
            var5 += 11;
         }
      }

   }

   static ArrayList a(byte[] var0, int var1, int var2, WorksheetCollection var3, Cells var4) {
      int var5 = var1;
      int var6 = var2;
      if (var1 == -1) {
         var5 = 2;
         var6 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var5;
      }

      ArrayList var7 = new ArrayList();
      zur var14 = null;
      Range var15 = null;

      while(var5 < var6) {
         int var8;
         int var9;
         int var10;
         int var11;
         int var12;
         int var13;
         int var17;
         Name var18;
         switch(var0[var5]) {
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var5;
            break;
         case 23:
            byte var16 = var0[var5 + 1];
            if (var0[var5 + 2] == 0) {
               var5 += (var16 & 255) + 3 & '\uffff';
            } else {
               var5 += (var16 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return var7;
         case 25:
            switch(var0[var5 + 1]) {
            case 1:
               var5 += 4;
               continue;
            case 2:
               var5 += 4;
               continue;
            case 4:
               var17 = com.aspose.cells.b.a.zc.e(var0, var5 + 2);
               var5 += (var17 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var5 += 4;
               continue;
            case 16:
               var5 += 4;
               continue;
            case 32:
               var5 += 4;
               continue;
            case 64:
               var5 += 4;
               continue;
            default:
               var5 += 4;
               continue;
            }
         case 28:
         case 29:
            var5 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var5 += 3;
            break;
         case 31:
            var5 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var5 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var5 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var17 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var18 = var3.getNames().get(var17 - 1);
            com.aspose.cells.b.a.a.ze.a(var7, (Object)var18.d(true));
            var5 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var11 = var0[var5 + 3] & 255;
            var15 = new Range(var11, var11, 1, 1, var4);
            com.aspose.cells.b.a.a.ze.a(var7, (Object)var15);
            var5 += 5;
            break;
         case 37:
         case 69:
         case 101:
            var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var12 = com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff';
            var11 = var0[var5 + 5] & 255;
            var13 = var0[var5 + 7] & 255;
            var15 = new Range(var11, var11, var12 - var10 + 1, var13 - var11 + 1, var4);
            com.aspose.cells.b.a.a.ze.a(var7, (Object)var15);
            var5 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var5 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var5 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var5 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var5 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var5 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var5 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var14 = var3.q().b(var8);
            if ((var14.a & '\uffff') == var3.u()) {
               var17 = com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff';
               var18 = var3.getNames().get(var17 - 1);
               com.aspose.cells.b.a.a.ze.a(var7, (Object)var18.d(true));
            }

            var5 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var9 = var3.q().a(var3, var8);
            if (var9 >= 0 && var9 < var3.getCount()) {
               var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff';
               var11 = var0[var5 + 5] & 255;
               var15 = new Range(var10, var11, 1, 1, var3.get(var9).getCells());
               com.aspose.cells.b.a.a.ze.a(var7, (Object)var15);
            }

            var5 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            var9 = var3.q().a(var3, var8);
            if (var9 >= 0 && var9 < var3.getCount()) {
               var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff';
               var12 = com.aspose.cells.b.a.zc.e(var0, var5 + 5) & '\uffff';
               var11 = var0[var5 + 7] & 255;
               var13 = var0[var5 + 9] & 255;
               var15 = new Range(var10, var11, var12 - var10 + 1, var13 - var11 + 1, var3.get(var9).getCells());
               com.aspose.cells.b.a.a.ze.a(var7, (Object)var15);
            }

            var5 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var5 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var5 += 11;
         }
      }

      return var7;
   }

   static void b(byte[] var0, int var1, int var2, HashMap var3, WorksheetCollection var4) {
      int var5 = var1;
      int var6 = var2;
      if (var3 != null && var3.size() != 0) {
         if (var1 == -1) {
            var5 = 2;
            var6 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var5;
         }

         while(var5 < var6) {
            int var8;
            int var9;
            switch(var0[var5]) {
            case 1:
            case 2:
               var5 += 5;
               break;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
            case 12:
            case 13:
            case 14:
            case 15:
            case 16:
            case 17:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
               ++var5;
               break;
            case 23:
               byte var7 = var0[var5 + 1];
               if (var0[var5 + 2] == 0) {
                  var5 += (var7 & 255) + 3 & '\uffff';
               } else {
                  var5 += (var7 & 255) * 2 + 3 & '\uffff';
               }
               break;
            case 24:
            case 26:
            case 27:
            case 46:
            case 47:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 54:
            case 55:
            case 56:
            case 62:
            case 63:
            case 78:
            case 79:
            case 80:
            case 81:
            case 82:
            case 83:
            case 84:
            case 85:
            case 86:
            case 87:
            case 88:
            case 94:
            case 95:
            case 110:
            case 111:
            case 112:
            case 113:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            default:
               return;
            case 25:
               switch(var0[var5 + 1]) {
               case 1:
                  var5 += 4;
                  continue;
               case 2:
                  var5 += 4;
                  continue;
               case 4:
                  var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 2);
                  var5 += (var8 & '\uffff') * 2 + 6;
                  continue;
               case 8:
                  var5 += 4;
                  continue;
               case 16:
                  var5 += 4;
                  continue;
               case 32:
                  var5 += 4;
                  continue;
               case 64:
                  var5 += 4;
                  continue;
               default:
                  var5 += 4;
                  continue;
               }
            case 28:
            case 29:
               var5 += 2;
               break;
            case 30:
            case 33:
            case 65:
            case 97:
               var5 += 3;
               break;
            case 31:
               var5 += 9;
               break;
            case 32:
            case 64:
            case 96:
               var5 += 8;
               break;
            case 34:
            case 66:
            case 98:
               var5 += 4;
               break;
            case 35:
            case 67:
            case 99:
               var8 = (com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff') - 1;
               if (var3.get(var8) != null) {
                  var9 = (Integer)var3.get(var8);
                  if (var9 != var8 && var9 >= 0) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9 + 1), 0, var0, var5 + 1, 2);
                  }
               }

               var5 += 5;
               break;
            case 36:
            case 68:
            case 100:
               var5 += 5;
               break;
            case 37:
            case 43:
            case 45:
            case 69:
            case 75:
            case 77:
            case 101:
            case 107:
            case 109:
               var5 += 9;
               break;
            case 38:
            case 39:
            case 40:
            case 70:
            case 71:
            case 72:
            case 102:
            case 103:
            case 104:
               var5 += 7;
               break;
            case 41:
            case 73:
            case 105:
               var5 += 3;
               break;
            case 42:
            case 44:
            case 74:
            case 76:
            case 106:
            case 108:
               var5 += 5;
               break;
            case 57:
            case 89:
            case 121:
               var9 = (com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff') - 1;
               int var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
               if (var3.get(var9) != null && var4.q().c(var10) == var4.u()) {
                  int var11 = (Integer)var3.get(var9);
                  if (var11 != var9 && var11 >= 0) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var11 + 1), 0, var0, var5 + 3, 2);
                  }
               }

               var5 += 7;
               break;
            case 58:
            case 60:
            case 90:
            case 92:
            case 122:
            case 124:
               var5 += 7;
               break;
            case 59:
            case 61:
            case 91:
            case 93:
            case 123:
            case 125:
               var5 += 11;
            }
         }

      }
   }

   static void a(byte[] var0, int var1, int var2, HashMap var3, HashMap var4) {
      int var5 = var1;
      int var6 = var2;
      if (var1 == -1) {
         var5 = 2;
         var6 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var5;
      }

      while(var5 < var6) {
         int var8;
         int var9;
         int var10;
         switch(var0[var5]) {
         case 1:
         case 2:
            var5 += 5;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var5;
            break;
         case 23:
            byte var7 = var0[var5 + 1];
            if (var0[var5 + 2] == 0) {
               var5 += (var7 & 255) + 3 & '\uffff';
            } else {
               var5 += (var7 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 25:
            switch(var0[var5 + 1]) {
            case 1:
               var5 += 4;
               continue;
            case 2:
               var5 += 4;
               continue;
            case 4:
               var8 = com.aspose.cells.b.a.zc.e(var0, var5 + 2);
               var5 += (var8 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var5 += 4;
               continue;
            case 16:
               var5 += 4;
               continue;
            case 32:
               var5 += 4;
               continue;
            case 64:
               var5 += 4;
               continue;
            default:
               var5 += 4;
               continue;
            }
         case 28:
         case 29:
            var5 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var5 += 3;
            break;
         case 31:
            var5 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var5 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var5 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var8 = (com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff') - 1;
            if (var4.get(var8) != null) {
               var9 = (Integer)var4.get(var8);
               if (var9 != var8 && var9 >= 0) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var9 + 1), 0, var0, var5 + 1, 2);
               }
            }

            var5 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var5 += 5;
            break;
         case 37:
         case 43:
         case 45:
         case 69:
         case 75:
         case 77:
         case 101:
         case 107:
         case 109:
            var5 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var5 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var5 += 3;
            break;
         case 42:
         case 44:
         case 74:
         case 76:
         case 106:
         case 108:
            var5 += 5;
            break;
         case 57:
         case 89:
         case 121:
            var9 = (com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff') - 1;
            if (var4.get(var9) != null) {
               var10 = (Integer)var4.get(var9);
               if (var10 != var9 && var10 >= 0) {
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var10 + 1), 0, var0, var5 + 3, 2);
               }
            }

            var5 += 7;
            break;
         case 58:
         case 60:
         case 90:
         case 92:
         case 122:
         case 124:
            var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            if (var3.get(var10) != null) {
               var10 = (Integer)var3.get(var10);
            } else {
               var10 = 0;
            }

            System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var0, var5 + 1, 2);
            var5 += 7;
            break;
         case 59:
         case 61:
         case 91:
         case 93:
         case 123:
         case 125:
            var10 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
            if (var3.get(var10) != null) {
               var10 = (Integer)var3.get(var10);
            } else {
               var10 = 0;
            }

            System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var0, var5 + 1, 2);
            var5 += 11;
         }
      }

   }

   static void a(byte[] var0, int var1, int var2, int var3, int var4) {
      int var5 = var1;
      int var6 = var2;
      if (var1 == -1) {
         var5 = 2;
         var6 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var5;
      }

      while(var5 < var6) {
         int var7;
         int var8;
         int var9;
         switch(var0[var5]) {
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var5;
            break;
         case 23:
            byte var10 = var0[var5 + 1];
            if (var0[var5 + 2] == 0) {
               var5 += (var10 & 255) + 3 & '\uffff';
            } else {
               var5 += (var10 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 25:
            switch(var0[var5 + 1]) {
            case 1:
               var5 += 4;
               continue;
            case 2:
               var5 += 4;
               continue;
            case 4:
               int var11 = com.aspose.cells.b.a.zc.e(var0, var5 + 2);
               var5 += (var11 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var5 += 4;
               continue;
            case 16:
               var5 += 4;
               continue;
            case 32:
               var5 += 4;
               continue;
            case 64:
               var5 += 4;
               continue;
            default:
               var5 += 4;
               continue;
            }
         case 28:
         case 29:
            var5 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var5 += 3;
            break;
         case 31:
            var5 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var5 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var5 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var5 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var5 += 5;
            break;
         case 37:
         case 43:
         case 69:
         case 75:
         case 101:
         case 107:
            var5 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var5 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var5 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var5 += 5;
            break;
         case 44:
         case 76:
         case 108:
            var0[var5] = (byte)(var0[var5] & 247);
            var9 = var0[var5 + 4] & 255 & 128;
            if (var9 != 0) {
               var7 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
               var7 += var3;
               if (var7 > 65535) {
                  var7 -= 65536;
               }

               System.arraycopy(com.aspose.cells.b.a.zc.a(var7), 0, var0, var5 + 1, 2);
            }

            var9 = var0[var5 + 4] & 255 & 64;
            if (var9 != 0) {
               var8 = var0[var5 + 3] & 255;
               var8 += var4;
               if (var8 > 255) {
                  var8 -= 256;
               }

               var0[var5 + 3] = (byte)var8;
            }

            var5 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var0[var5] = (byte)(var0[var5] & 247);
            var9 = var0[var5 + 6] & 255 & 128;
            if (var9 != 0) {
               var7 = com.aspose.cells.b.a.zc.e(var0, var5 + 1) & '\uffff';
               var7 += var3;
               if (var7 > 65535) {
                  var7 -= 65536;
               }

               System.arraycopy(com.aspose.cells.b.a.zc.a(var7), 0, var0, var5 + 1, 2);
            }

            var9 = var0[var5 + 6] & 255 & 64;
            if (var9 != 0) {
               var8 = var0[var5 + 5] & 255;
               var8 += var4;
               if (var8 > 255) {
                  var8 -= 256;
               }

               var0[var5 + 5] = (byte)var8;
            }

            var9 = var0[var5 + 8] & 255 & 128;
            if (var9 != 0) {
               var7 = com.aspose.cells.b.a.zc.e(var0, var5 + 3) & '\uffff';
               var7 += var3;
               if (var7 > 65535) {
                  var7 -= 65536;
               }

               System.arraycopy(com.aspose.cells.b.a.zc.a(var7), 0, var0, var5 + 3, 2);
            }

            var9 = var0[var5 + 8] & 255 & 64;
            if (var9 != 0) {
               var8 = var0[var5 + 7] & 255;
               var8 += var4;
               if (var8 > 255) {
                  var8 -= 256;
               }

               var0[var5 + 7] = (byte)var8;
            }

            var5 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var5 += 7;
            break;
         case 58:
         case 60:
         case 90:
         case 92:
         case 122:
         case 124:
            var5 += 7;
            break;
         case 59:
         case 61:
         case 91:
         case 93:
         case 123:
         case 125:
            var5 += 11;
         }
      }

   }

   static void a(CellArea var0, int var1, Worksheet var2, boolean var3, byte[] var4, int var5, int var6) {
      int var7 = var5;
      int var8 = var6;
      if (var1 != 0) {
         if (var5 == -1) {
            var7 = 2;
            var8 = (com.aspose.cells.b.a.zc.e(var4, 0) & '\uffff') + var7;
         }

         boolean var12 = false;

         while(var7 < var8) {
            int var9;
            byte var10;
            int var15;
            switch(var4[var7]) {
            case 1:
               if (var3) {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                  var10 = var4[var7 + 3];
                  if (var9 >= var0.StartRow && (var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     var9 += var1;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 1, 2);
                  }
               }

               var7 += 5;
               break;
            case 2:
            case 24:
            case 26:
            case 27:
            case 46:
            case 47:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 54:
            case 55:
            case 56:
            case 62:
            case 63:
            case 78:
            case 79:
            case 80:
            case 81:
            case 82:
            case 83:
            case 84:
            case 85:
            case 86:
            case 87:
            case 88:
            case 94:
            case 95:
            case 110:
            case 111:
            case 112:
            case 113:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            default:
               return;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
            case 12:
            case 13:
            case 14:
            case 15:
            case 16:
            case 17:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
               ++var7;
               break;
            case 23:
               byte var13 = var4[var7 + 1];
               if (var4[var7 + 2] == 0) {
                  var7 += (var13 & 255) + 3 & '\uffff';
               } else {
                  var7 += (var13 & 255) * 2 + 3 & '\uffff';
               }
               break;
            case 25:
               switch(var4[var7 + 1]) {
               case 1:
                  var7 += 4;
                  continue;
               case 2:
                  var7 += 4;
                  continue;
               case 4:
                  int var14 = com.aspose.cells.b.a.zc.e(var4, var7 + 2);
                  var7 += (var14 & '\uffff') * 2 + 6;
                  continue;
               case 8:
                  var7 += 4;
                  continue;
               case 16:
                  var7 += 4;
                  continue;
               case 32:
                  var7 += 4;
                  continue;
               case 64:
                  var7 += 4;
                  continue;
               default:
                  var7 += 4;
                  continue;
               }
            case 28:
            case 29:
               var7 += 2;
               break;
            case 30:
            case 33:
            case 65:
            case 97:
               var7 += 3;
               break;
            case 31:
               var7 += 9;
               break;
            case 32:
            case 64:
            case 96:
               var7 += 8;
               break;
            case 34:
            case 66:
            case 98:
               var7 += 4;
               break;
            case 35:
            case 67:
            case 99:
               var7 += 5;
               break;
            case 36:
            case 68:
            case 100:
               if (var3) {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                  var10 = var4[var7 + 3];
                  if (var9 >= var0.StartRow && (var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     var9 += var1;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 1, 2);
                  }
               }

               var7 += 5;
               break;
            case 37:
            case 43:
            case 69:
            case 75:
            case 101:
            case 107:
               if (var3) {
                  var10 = var4[var7 + 5];
                  byte var11 = var4[var7 + 7];
                  if (var0.StartColumn <= (var10 & 255) && var0.EndColumn >= (var11 & 255)) {
                     var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                     if (var9 >= var0.StartRow) {
                        var9 += var1;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 1, 2);
                     }

                     var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                     if (var9 >= var0.StartRow) {
                        var9 += var1;
                        if (var9 > 65535) {
                           var9 = 65535;
                        }

                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 3, 2);
                     }
                  }
               }

               var7 += 9;
               break;
            case 38:
            case 39:
            case 40:
            case 70:
            case 71:
            case 72:
            case 102:
            case 103:
            case 104:
               var7 += 7;
               break;
            case 41:
            case 73:
            case 105:
               var7 += 3;
               break;
            case 42:
            case 44:
            case 74:
            case 76:
            case 106:
            case 108:
               var7 += 5;
               break;
            case 45:
            case 77:
            case 109:
               var7 += 9;
               break;
            case 57:
            case 89:
            case 121:
               var7 += 7;
               break;
            case 58:
            case 90:
            case 122:
               var15 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               if (var2.c().q().d(var15) != var2.getIndex()) {
                  var7 += 7;
               } else {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                  var10 = var4[var7 + 5];
                  if (var9 >= var0.StartRow && (var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     var9 += var1;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 3, 2);
                  }

                  var7 += 7;
               }
               break;
            case 59:
            case 91:
            case 123:
               var15 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               if (var2.c().q().d(var15) != var2.getIndex()) {
                  var7 += 11;
               } else {
                  var10 = var4[var7 + 7];
                  byte var10000 = var4[var7 + 9];
                  if (var0.StartColumn <= (var10 & 255) && var0.EndColumn >= (var10 & 255)) {
                     var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                     if (var9 >= var0.StartRow) {
                        var9 += var1;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 3, 2);
                     }

                     var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 5) & '\uffff';
                     if (var9 >= var0.StartRow) {
                        var9 += var1;
                        if (var9 > 65535) {
                           var9 = 65535;
                        }

                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 5, 2);
                     }
                  }

                  var7 += 11;
               }
               break;
            case 60:
            case 92:
            case 124:
               var7 += 7;
               break;
            case 61:
            case 93:
            case 125:
               var7 += 11;
            }
         }

      }
   }

   static void b(CellArea var0, int var1, Worksheet var2, boolean var3, byte[] var4, int var5, int var6) {
      int var7 = var5;
      int var8 = var6;
      if (var1 != 0) {
         if (var5 == -1) {
            var7 = 2;
            var8 = (com.aspose.cells.b.a.zc.e(var4, 0) & '\uffff') + var7;
         }

         boolean var11 = false;

         while(var7 < var8) {
            int var9;
            byte var10;
            int var13;
            int var14;
            boolean var15;
            boolean var16;
            boolean[] var17;
            boolean[] var18;
            CellArea var19;
            int var20;
            switch(var4[var7]) {
            case 1:
               if (var3) {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                  var10 = var4[var7 + 3];
                  if (var9 >= var0.StartRow && (var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     var9 -= var1;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 1, 2);
                  }
               }

               var7 += 5;
               break;
            case 2:
            case 24:
            case 26:
            case 27:
            case 46:
            case 47:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 54:
            case 55:
            case 56:
            case 62:
            case 63:
            case 78:
            case 79:
            case 80:
            case 81:
            case 82:
            case 83:
            case 84:
            case 85:
            case 86:
            case 87:
            case 88:
            case 94:
            case 95:
            case 110:
            case 111:
            case 112:
            case 113:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            default:
               return;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
            case 12:
            case 13:
            case 14:
            case 15:
            case 16:
            case 17:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
               ++var7;
               break;
            case 23:
               byte var12 = var4[var7 + 1];
               if (var4[var7 + 2] == 0) {
                  var7 += (var12 & 255) + 3 & '\uffff';
               } else {
                  var7 += (var12 & 255) * 2 + 3 & '\uffff';
               }
               break;
            case 25:
               switch(var4[var7 + 1]) {
               case 1:
                  var7 += 4;
                  continue;
               case 2:
                  var7 += 4;
                  continue;
               case 4:
                  var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 2);
                  var7 += (var13 & '\uffff') * 2 + 6;
                  continue;
               case 8:
                  var7 += 4;
                  continue;
               case 16:
                  var7 += 4;
                  continue;
               case 32:
                  var7 += 4;
                  continue;
               case 64:
                  var7 += 4;
                  continue;
               default:
                  var7 += 4;
                  continue;
               }
            case 28:
            case 29:
               var7 += 2;
               break;
            case 30:
            case 33:
            case 65:
            case 97:
               var7 += 3;
               break;
            case 31:
               var7 += 9;
               break;
            case 32:
            case 64:
            case 96:
               var7 += 8;
               break;
            case 34:
            case 66:
            case 98:
               var7 += 4;
               break;
            case 35:
            case 67:
            case 99:
               var7 += 5;
               break;
            case 36:
            case 68:
            case 100:
               if (var3) {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                  var10 = var4[var7 + 3];
                  if ((var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     if (var9 > var0.EndRow) {
                        var9 -= var1;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 1, 2);
                     } else if (var9 >= var0.StartRow) {
                        var4[var7] = (byte)((var4[var7] & 255) + 6);
                     }
                  }
               }

               var7 += 5;
               break;
            case 37:
            case 43:
            case 69:
            case 75:
            case 101:
            case 107:
               if (var3) {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
                  var10 = var4[var7 + 5];
                  var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                  var14 = var4[var7 + 7] & 255;
                  var15 = false;
                  var16 = false;
                  var17 = new boolean[]{var15};
                  var18 = new boolean[]{var16};
                  var19 = a(var0, var1, var9, var10 & 255, var13, var14, var17, var18);
                  var15 = var17[0];
                  var16 = var18[0];
                  if (var16) {
                     var4[var7] = (byte)((var4[var7] & 255) + 6);
                  } else if (var15) {
                     if (var19.StartRow != var9) {
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var19.StartRow), 0, var4, var7 + 1, 2);
                     }

                     if (var19.EndRow != var13) {
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var19.EndRow), 0, var4, var7 + 3, 2);
                     }

                     var4[var7 + 5] = (byte)var19.StartColumn;
                     var4[var7 + 7] = (byte)var19.EndColumn;
                  }
               }

               var7 += 9;
               break;
            case 38:
            case 39:
            case 40:
            case 70:
            case 71:
            case 72:
            case 102:
            case 103:
            case 104:
               var7 += 7;
               break;
            case 41:
            case 73:
            case 105:
               var7 += 3;
               break;
            case 42:
            case 44:
            case 74:
            case 76:
            case 106:
            case 108:
               var7 += 5;
               break;
            case 45:
            case 77:
            case 109:
               var7 += 9;
               break;
            case 57:
            case 89:
            case 121:
               var7 += 7;
               break;
            case 58:
            case 90:
            case 122:
               var20 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               if (var2.c().q().d(var20) != var2.getIndex()) {
                  var7 += 7;
               } else {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                  var10 = var4[var7 + 5];
                  if ((var10 & 255) >= var0.StartColumn && (var10 & 255) <= var0.EndColumn) {
                     if (var9 > var0.EndRow) {
                        var9 -= var1;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var9), 0, var4, var7 + 3, 2);
                     } else if (var9 >= var0.StartRow) {
                        var4[var7] = (byte)((var4[var7] & 255) + 2);
                     }
                  }

                  var7 += 7;
               }
               break;
            case 59:
            case 91:
            case 123:
               var20 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               if (var2.c().q().d(var20) != var2.getIndex()) {
                  var7 += 11;
               } else {
                  var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
                  var10 = var4[var7 + 7];
                  var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 5) & '\uffff';
                  var14 = var4[var7 + 9] & 255;
                  var15 = false;
                  var16 = false;
                  var17 = new boolean[]{var15};
                  var18 = new boolean[]{var16};
                  var19 = a(var0, var1, var9, var10 & 255, var13, var14, var17, var18);
                  var15 = var17[0];
                  var16 = var18[0];
                  if (var16) {
                     var4[var7] = (byte)((var4[var7] & 255) + 6);
                  } else if (var15) {
                     if (var19.StartRow != var9) {
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var19.StartRow), 0, var4, var7 + 3, 2);
                     }

                     if (var19.EndRow != var13) {
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var19.EndRow), 0, var4, var7 + 5, 2);
                     }

                     var4[var7 + 7] = (byte)var19.StartColumn;
                     var4[var7 + 9] = (byte)var19.EndColumn;
                  }

                  var7 += 11;
               }
               break;
            case 60:
            case 92:
            case 124:
               var7 += 7;
               break;
            case 61:
            case 93:
            case 125:
               var7 += 11;
            }
         }

      }
   }

   static void a(CellArea var0, int var1, Worksheet var2, boolean var3, byte[] var4, int var5, int var6, int var7, int var8, int var9, int var10) {
      int var11 = var5;
      int var12 = var6;
      if (var5 == -1) {
         var11 = 2;
         var12 = (com.aspose.cells.b.a.zc.e(var4, 0) & '\uffff') + var11;
      }

      boolean var16 = false;

      while(var11 < var12) {
         int var13;
         int var14;
         int var15;
         int var19;
         switch(var4[var11]) {
         case 1:
            if (var3) {
               var13 = com.aspose.cells.b.a.zc.e(var4, var11 + 1) & '\uffff';
               var15 = var4[var11 + 3] & 255;
               if (var13 >= var0.StartRow && var13 <= var0.EndRow && var15 >= var0.StartColumn) {
                  var15 += var1;
                  var4[var11 + 3] = (byte)var15;
               }
            }

            var11 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var11;
            break;
         case 23:
            byte var17 = var4[var11 + 1];
            if (var4[var11 + 2] == 0) {
               var11 += (var17 & 255) + 3 & '\uffff';
            } else {
               var11 += (var17 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var4[var11 + 1]) {
            case 1:
               var11 += 4;
               continue;
            case 2:
               var11 += 4;
               continue;
            case 4:
               int var18 = com.aspose.cells.b.a.zc.e(var4, var11 + 2);
               var11 += (var18 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var11 += 4;
               continue;
            case 16:
               var11 += 4;
               continue;
            case 32:
               var11 += 4;
               continue;
            case 64:
               var11 += 4;
               continue;
            default:
               var11 += 4;
               continue;
            }
         case 28:
         case 29:
            var11 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var11 += 3;
            break;
         case 31:
            var11 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var11 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var11 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var11 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var3) {
               var13 = com.aspose.cells.b.a.zc.e(var4, var11 + 1) & '\uffff';
               var15 = var4[var11 + 3] & 255;
               if (var13 >= var0.StartRow && var13 <= var0.EndRow && var15 >= var0.StartColumn) {
                  var15 += var1;
                  var4[var11 + 3] = (byte)var15;
               }
            }

            var11 += 5;
            break;
         case 37:
         case 43:
         case 69:
         case 75:
         case 101:
         case 107:
            if (var3) {
               var13 = com.aspose.cells.b.a.zc.e(var4, var11 + 1) & '\uffff';
               var14 = com.aspose.cells.b.a.zc.e(var4, var11 + 3) & '\uffff';
               if (var0.StartRow <= var13 && var0.EndRow >= var14) {
                  var15 = var4[var11 + 5] & 255;
                  if (var15 >= var0.StartColumn) {
                     var15 += var1;
                     if (var15 > 255) {
                        var15 = 255;
                     }

                     var4[var11 + 5] = (byte)var15;
                  }

                  var15 = var4[var11 + 7] & 255;
                  if (var15 >= var0.StartColumn) {
                     var15 += var1;
                     if (var15 > 255) {
                        var15 = 255;
                     }

                     var4[var11 + 7] = (byte)var15;
                  }
               }
            }

            var11 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var11 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var11 += 3;
            break;
         case 42:
         case 44:
         case 74:
         case 76:
         case 106:
         case 108:
            var11 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var11 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var11 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var19 = com.aspose.cells.b.a.zc.e(var4, var11 + 1) & '\uffff';
            if (var2.c().q().d(var19) != var2.getIndex()) {
               var11 += 7;
            } else {
               var13 = com.aspose.cells.b.a.zc.e(var4, var11 + 3) & '\uffff';
               var15 = var4[var11 + 5] & 255;
               if (var13 >= var0.StartRow && var13 <= var0.EndRow && var15 >= var0.StartColumn) {
                  var15 += var1;
                  var4[var11 + 5] = (byte)var15;
               }

               var11 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            var19 = com.aspose.cells.b.a.zc.e(var4, var11 + 1) & '\uffff';
            if (var2.c().q().d(var19) != var2.getIndex()) {
               var11 += 11;
            } else {
               var13 = com.aspose.cells.b.a.zc.e(var4, var11 + 3) & '\uffff';
               var14 = com.aspose.cells.b.a.zc.e(var4, var11 + 5) & '\uffff';
               if (var0.StartRow <= var13 && var0.EndRow >= var14) {
                  var15 = var4[var11 + 7] & 255;
                  if (var15 >= var0.StartColumn) {
                     var15 += var1;
                     if (var15 > 255) {
                        var15 = 255;
                     }

                     var4[var11 + 7] = (byte)var15;
                  }

                  var15 = var4[var11 + 9] & 255;
                  if (var15 >= var0.StartColumn) {
                     var15 += var1;
                     if (var15 > 255) {
                        var15 = 255;
                     }

                     var4[var11 + 9] = (byte)var15;
                  }
               }

               var11 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var11 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var11 += 11;
         }
      }

   }

   static CellArea a(CellArea var0, int var1, int var2, int var3, int var4, int var5, boolean[] var6, boolean[] var7) {
      CellArea var8 = new CellArea();
      var6[0] = false;
      var7[0] = false;
      if (var0.StartColumn > var5) {
         return var8;
      } else {
         if (var0.StartColumn > var3) {
            if (var0.EndColumn >= var5 && var0.StartRow <= var2 && var0.EndRow >= var4) {
               var6[0] = true;
               var8.StartRow = var2;
               var8.EndRow = var4;
               var8.StartColumn = var3;
               var8.EndColumn = var0.StartColumn - 1;
               return var8;
            }
         } else {
            if (var0.EndColumn < var3) {
               return var8;
            }

            if (var0.EndColumn < var5) {
               if (var0.StartRow <= var2 && var0.EndRow >= var4) {
                  var6[0] = true;
                  var8.StartRow = var2;
                  var8.EndRow = var4;
                  var8.StartColumn = var0.EndColumn + 1;
                  var8.EndColumn = var5;
                  return var8;
               }
            } else {
               if (var0.EndRow < var2) {
                  var6[0] = true;
                  var8.StartRow = var2 - var1;
                  var8.EndRow = var4 - var1;
                  var8.StartColumn = var3;
                  var8.EndColumn = var5;
                  return var8;
               }

               if (var0.EndRow < var4) {
                  var6[0] = true;
                  if (var0.StartRow <= var2) {
                     var8.StartRow = var0.StartRow;
                  } else {
                     var8.StartRow = var2;
                  }

                  var8.EndRow = var4 - var1;
                  var8.StartColumn = var3;
                  var8.EndColumn = var5;
                  return var8;
               }

               if (var0.StartRow <= var2) {
                  var7[0] = true;
                  return var8;
               }

               if (var0.StartRow <= var4) {
                  var6[0] = true;
                  var8.StartRow = var2;
                  var8.EndRow = var0.StartRow - 1;
                  var8.StartColumn = var3;
                  var8.EndColumn = var5;
                  return var8;
               }
            }
         }

         return var8;
      }
   }

   static CellArea b(CellArea var0, int var1, int var2, int var3, int var4, int var5, boolean[] var6, boolean[] var7) {
      CellArea var8 = new CellArea();
      var6[0] = false;
      var7[0] = false;
      if (var0.StartRow > var4) {
         return var8;
      } else {
         if (var0.StartRow > var2) {
            if (var0.EndRow >= var4 && var0.StartColumn <= var3 && var0.EndColumn >= var5) {
               var6[0] = true;
               var8.StartRow = var2;
               var8.EndRow = var0.StartRow - 1;
               var8.StartColumn = var3;
               var8.EndColumn = var5;
               return var8;
            }
         } else {
            if (var0.EndRow < var2) {
               return var8;
            }

            if (var0.EndRow < var4) {
               if (var0.StartColumn <= var3 && var0.EndColumn >= var5) {
                  var6[0] = true;
                  var8.StartRow = var0.EndRow + 1;
                  var8.EndRow = var4;
                  var8.StartColumn = var3;
                  var8.EndColumn = var5;
                  return var8;
               }
            } else {
               if (var0.EndColumn < var3) {
                  var6[0] = true;
                  var8.StartRow = var2;
                  var8.EndRow = var4;
                  var8.StartColumn = var3 - var1;
                  var8.EndColumn = var5 - var1;
                  return var8;
               }

               if (var0.EndColumn < var5) {
                  var6[0] = true;
                  var8.StartRow = var2;
                  var8.EndRow = var4;
                  if (var0.StartColumn <= var3) {
                     var8.StartColumn = var0.StartColumn;
                  } else {
                     var8.StartColumn = var3;
                  }

                  var8.EndColumn = var5 - var1;
                  return var8;
               }

               if (var0.StartColumn <= var3) {
                  var7[0] = true;
                  return var8;
               }

               if (var0.StartColumn <= var5) {
                  var6[0] = true;
                  var8.StartRow = var2;
                  var8.EndRow = var4;
                  var8.StartColumn = var3;
                  var8.EndColumn = var0.StartColumn - 1;
                  return var8;
               }
            }
         }

         return var8;
      }
   }

   static void c(CellArea var0, int var1, Worksheet var2, boolean var3, byte[] var4, int var5, int var6) {
      int var7 = var5;
      int var8 = var6;
      if (var5 == -1) {
         var7 = 2;
         var8 = (com.aspose.cells.b.a.zc.e(var4, 0) & '\uffff') + var7;
      }

      boolean var11 = false;

      while(var7 < var8) {
         int var9;
         int var10;
         int var13;
         int var14;
         boolean var15;
         boolean var16;
         boolean[] var17;
         boolean[] var18;
         CellArea var19;
         int var20;
         switch(var4[var7]) {
         case 1:
            if (var3) {
               var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               var10 = var4[var7 + 3] & 255;
               if (var9 >= var0.StartRow && var9 <= var0.EndRow && var10 >= var0.StartColumn) {
                  var10 -= var1;
                  var4[var7 + 3] = (byte)var10;
               }
            }

            var7 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var7;
            break;
         case 23:
            byte var12 = var4[var7 + 1];
            if (var4[var7 + 2] == 0) {
               var7 += (var12 & 255) + 3 & '\uffff';
            } else {
               var7 += (var12 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var4[var7 + 1]) {
            case 1:
               var7 += 4;
               continue;
            case 2:
               var7 += 4;
               continue;
            case 4:
               var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 2);
               var7 += (var13 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var7 += 4;
               continue;
            case 16:
               var7 += 4;
               continue;
            case 32:
               var7 += 4;
               continue;
            case 64:
               var7 += 4;
               continue;
            default:
               var7 += 4;
               continue;
            }
         case 28:
         case 29:
            var7 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var7 += 3;
            break;
         case 31:
            var7 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var7 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var7 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var7 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var3) {
               var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               var10 = var4[var7 + 3] & 255;
               if (var9 >= var0.StartRow && var9 <= var0.EndRow) {
                  if (var10 > var0.EndColumn) {
                     var10 -= var1;
                     var4[var7 + 3] = (byte)var10;
                  } else if (var10 >= var0.StartColumn) {
                     var4[var7] = (byte)((var4[var7] & 255) + 6);
                  }
               }
            }

            var7 += 5;
            break;
         case 37:
         case 43:
         case 69:
         case 75:
         case 101:
         case 107:
            if (var3) {
               var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
               var10 = var4[var7 + 5] & 255;
               var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
               var14 = var4[var7 + 7] & 255;
               var15 = false;
               var16 = false;
               var17 = new boolean[]{var15};
               var18 = new boolean[]{var16};
               var19 = b(var0, var1, var9, var10, var13, var14, var17, var18);
               var15 = var17[0];
               var16 = var18[0];
               if (var16) {
                  var4[var7] = (byte)((var4[var7] & 255) + 6);
               } else if (var15) {
                  if (var9 != var19.StartRow) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var19.StartRow), 0, var4, var7 + 1, 2);
                  }

                  if (var13 != var19.EndRow) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var19.EndRow), 0, var4, var7 + 3, 2);
                  }

                  var4[var7 + 5] = (byte)var19.StartColumn;
                  var4[var7 + 7] = (byte)var19.EndColumn;
               }
            }

            var7 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var7 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var7 += 3;
            break;
         case 42:
         case 44:
         case 74:
         case 76:
         case 106:
         case 108:
            var7 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var7 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var7 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var20 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
            if (var2.c().q().d(var20) != var2.getIndex()) {
               var7 += 7;
            } else {
               var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
               var10 = var4[var7 + 5] & 255;
               if (var9 >= var0.StartRow && var9 <= var0.EndRow && var10 >= var0.StartColumn) {
                  if (var10 > var0.EndColumn) {
                     var10 -= var1;
                     var4[var7 + 5] = (byte)var10;
                  } else if (var10 >= var0.StartColumn) {
                     var4[var7] = (byte)((var4[var7] & 255) + 2);
                  }
               }

               var7 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            var20 = com.aspose.cells.b.a.zc.e(var4, var7 + 1) & '\uffff';
            if (var2.c().q().d(var20) != var2.getIndex()) {
               var7 += 11;
            } else {
               var9 = com.aspose.cells.b.a.zc.e(var4, var7 + 3) & '\uffff';
               var10 = var4[var7 + 7] & 255;
               var13 = com.aspose.cells.b.a.zc.e(var4, var7 + 5) & '\uffff';
               var14 = var4[var7 + 9] & 255;
               var15 = false;
               var16 = false;
               var17 = new boolean[]{var15};
               var18 = new boolean[]{var16};
               var19 = b(var0, var1, var9, var10, var13, var14, var17, var18);
               var15 = var17[0];
               var16 = var18[0];
               if (var16) {
                  var4[var7] = (byte)((var4[var7] & 255) + 2);
               } else if (var15) {
                  if (var9 != var19.StartRow) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var19.StartRow), 0, var4, var7 + 3, 2);
                  }

                  if (var13 != var19.EndRow) {
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var19.EndRow), 0, var4, var7 + 5, 2);
                  }

                  var4[var7 + 7] = (byte)var19.StartColumn;
                  var4[var7 + 9] = (byte)var19.EndColumn;
               }

               var7 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var7 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var7 += 11;
         }
      }

   }

   static void a(CellArea var0, int var1, int var2, Worksheet var3, boolean var4, byte[] var5, int var6, int var7) {
      int var8 = var6;
      int var9 = var7;
      if (var6 == -1) {
         var8 = 2;
         var9 = (com.aspose.cells.b.a.zc.e(var5, 0) & '\uffff') + var8;
      }

      boolean var12 = false;
      int var13 = var1 + var0.EndRow - var0.StartRow;
      int var14 = var2 + var0.EndColumn - var0.StartColumn;

      while(var8 < var9) {
         int var10;
         byte var11;
         int var16;
         int var17;
         int var18;
         switch(var5[var8]) {
         case 1:
         case 2:
            var8 += 5;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var8;
            break;
         case 23:
            byte var15 = var5[var8 + 1];
            if (var5[var8 + 2] == 0) {
               var8 += (var15 & 255) + 3 & '\uffff';
            } else {
               var8 += (var15 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return;
         case 25:
            switch(var5[var8 + 1]) {
            case 1:
               var8 += 4;
               continue;
            case 2:
               var8 += 4;
               continue;
            case 4:
               var16 = com.aspose.cells.b.a.zc.e(var5, var8 + 2);
               var8 += (var16 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var8 += 4;
               continue;
            case 16:
               var8 += 4;
               continue;
            case 32:
               var8 += 4;
               continue;
            case 64:
               var8 += 4;
               continue;
            default:
               var8 += 4;
               continue;
            }
         case 28:
         case 29:
            var8 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var8 += 3;
            break;
         case 31:
            var8 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var8 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var8 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var8 += 5;
            break;
         case 36:
         case 68:
         case 100:
            if (var4) {
               var10 = com.aspose.cells.b.a.zc.e(var5, var8 + 1) & '\uffff';
               var11 = var5[var8 + 3];
               if (var10 >= var0.StartRow && var10 <= var0.EndRow && (var11 & 255) >= var0.StartColumn && (var11 & 255) <= var0.EndColumn) {
                  var10 = var1 + var10 - var0.StartRow;
                  var11 = (byte)(var2 + (var11 & 255) - var0.StartColumn);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var5, var8 + 1, 2);
                  var5[var8 + 3] = var11;
               } else if (var10 >= var1 && var10 <= var13 && (var11 & 255) >= var2 && (var11 & 255) <= var14) {
                  var5[var8] = (byte)((var5[var8] & 255) + 6);
               }
            }

            var8 += 5;
            break;
         case 37:
         case 69:
         case 101:
            if (var4) {
               var10 = com.aspose.cells.b.a.zc.e(var5, var8 + 1) & '\uffff';
               var11 = var5[var8 + 5];
               var16 = com.aspose.cells.b.a.zc.e(var5, var8 + 3) & '\uffff';
               var17 = var5[var8 + 7] & 255;
               if (var10 >= var0.StartRow && var16 <= var0.EndRow && (var11 & 255) >= var0.StartColumn && var17 <= var0.EndColumn) {
                  var10 = var1 + var10 - var0.StartRow;
                  var11 = (byte)(var2 + (var11 & 255) - var0.StartColumn);
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var5, var8 + 1, 2);
                  var5[var8 + 5] = var11;
                  var16 = var1 + var16 - var0.StartRow;
                  var17 = (byte)(var2 + var17 - var0.StartColumn) & 255;
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var16), 0, var5, var8 + 3, 2);
                  var5[var8 + 7] = (byte)var17;
               } else if (var10 >= var1 && var16 <= var13 && (var11 & 255) >= var2 && var17 <= var14) {
                  var5[var8] = (byte)((var5[var8] & 255) + 6);
               }
            }

            var8 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var8 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var8 += 3;
            break;
         case 42:
         case 44:
         case 74:
         case 76:
         case 106:
         case 108:
            var8 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var8 += 9;
            break;
         case 45:
         case 77:
         case 109:
            var8 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var8 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var18 = com.aspose.cells.b.a.zc.e(var5, var8 + 1) & '\uffff';
            if (var3.c().q().d(var18) != var3.getIndex()) {
               var8 += 7;
               break;
            }

            var10 = com.aspose.cells.b.a.zc.e(var5, var8 + 3) & '\uffff';
            var11 = var5[var8 + 5];
            if (var10 >= var0.StartRow && var10 <= var0.EndRow && (var11 & 255) >= var0.StartColumn && (var11 & 255) <= var0.EndColumn) {
               var10 = var1 + var10 - var0.StartRow;
               var11 = (byte)(var2 + (var11 & 255) - var0.StartColumn);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var5, var8 + 3, 2);
               var5[var8 + 5] = var11;
            } else if (var10 >= var1 && var10 <= var13 && (var11 & 255) >= var2 && (var11 & 255) <= var14) {
               var5[var8] = (byte)((var5[var8] & 255) + 2);
            }

            var8 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var18 = com.aspose.cells.b.a.zc.e(var5, var8 + 1) & '\uffff';
            if (var3.c().q().d(var18) != var3.getIndex()) {
               var8 += 11;
               break;
            }

            var10 = com.aspose.cells.b.a.zc.e(var5, var8 + 3) & '\uffff';
            var11 = var5[var8 + 7];
            var16 = com.aspose.cells.b.a.zc.e(var5, var8 + 5) & '\uffff';
            var17 = var5[var8 + 9] & 255;
            if (var10 >= var0.StartRow && var16 <= var0.EndRow && (var11 & 255) >= var0.StartColumn && var17 <= var0.EndColumn) {
               var10 = var1 + var10 - var0.StartRow;
               var11 = (byte)(var2 + (var11 & 255) - var0.StartColumn);
               System.arraycopy(com.aspose.cells.b.a.zc.a(var10), 0, var5, var8 + 3, 2);
               var5[var8 + 7] = var11;
               var16 = var1 + var16 - var0.StartRow;
               var17 = (byte)(var2 + var17 - var0.StartColumn) & 255;
               System.arraycopy(com.aspose.cells.b.a.zc.a(var16), 0, var5, var8 + 5, 2);
               var5[var8 + 9] = (byte)var17;
            } else if (var10 >= var1 && var16 <= var13 && (var11 & 255) >= var2 && var17 <= var14) {
               var5[var8] = (byte)((var5[var8] & 255) + 2);
            }

            var8 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var8 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var8 += 11;
         }
      }

   }

   static boolean a(byte[] var0, int var1, int var2, int var3, int var4, CellArea var5, boolean[] var6) {
      int var7 = var1;
      int var8 = var2;
      if (var1 == -1) {
         var7 = 2;
         var8 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var7;
      }

      boolean var9 = false;
      var6[0] = false;

      while(var7 < var8) {
         int var11;
         switch(var0[var7]) {
         case 1:
         case 2:
            var7 += 5;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var7;
            break;
         case 23:
            byte var10 = var0[var7 + 1];
            if (var0[var7 + 2] == 0) {
               var7 += (var10 & 255) + 3 & '\uffff';
            } else {
               var7 += (var10 & 255) * 2 + 3 & '\uffff';
            }
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            break;
         case 25:
            switch(var0[var7 + 1]) {
            case 1:
               var7 += 4;
               continue;
            case 2:
               var7 += 4;
               continue;
            case 4:
               var11 = com.aspose.cells.b.a.zc.e(var0, var7 + 4);
               var7 += (var11 & '\uffff') + 4;
               continue;
            case 8:
               var7 += 4;
               continue;
            case 16:
               var7 += 4;
               continue;
            case 32:
               var7 += 4;
               continue;
            case 64:
               var7 += 4;
               continue;
            default:
               var7 += 4;
               continue;
            }
         case 28:
         case 29:
            var7 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var7 += 3;
            break;
         case 31:
            var7 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var7 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var7 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var7 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var7 += 5;
            break;
         case 37:
         case 43:
         case 69:
         case 75:
         case 101:
         case 107:
            var7 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var7 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var7 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var7 += 5;
            break;
         case 44:
         case 76:
         case 108:
            if ((var0[var7 + 4] & 255 & 128) != 0) {
               var11 = com.aspose.cells.b.a.zc.e(var0, var7 + 1) & '\uffff';
               if (var0[var7 + 3] == 0 && var11 != 0) {
                  if (var11 + var3 < 65535) {
                     if (var5.StartRow + var11 < var5.EndRow) {
                        var6[0] = true;
                        var9 = true;
                     }
                  } else if (var5.EndRow + var11 - '\uffff' > var5.StartRow) {
                     var6[0] = true;
                  }
               }
            }

            var7 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var7 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var7 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var7 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var7 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var7 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var7 += 11;
         }
      }

      return var9;
   }

   static boolean b(byte[] var0, int var1, int var2) {
      int var3 = var1;
      int var4 = var2;
      if (var1 == -1) {
         var3 = 2;
         var4 = (com.aspose.cells.b.a.zc.e(var0, 0) & '\uffff') + var3;
      }

      while(var3 < var4) {
         switch(var0[var3]) {
         case 1:
         case 2:
            var3 += 5;
            break;
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var3;
            break;
         case 23:
            byte var5 = var0[var3 + 1];
            if (var0[var3 + 2] == 0) {
               var3 += (var5 & 255) + 3 & '\uffff';
            } else {
               var3 += (var5 & 255) * 2 + 3 & '\uffff';
            }
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            break;
         case 25:
            switch(var0[var3 + 1]) {
            case 1:
               var3 += 4;
               continue;
            case 2:
               var3 += 4;
               continue;
            case 4:
               int var6 = com.aspose.cells.b.a.zc.e(var0, var3 + 4);
               var3 += (var6 & '\uffff') + 4;
               continue;
            case 8:
               var3 += 4;
               continue;
            case 16:
               var3 += 4;
               continue;
            case 32:
               var3 += 4;
               continue;
            case 64:
               var3 += 4;
               continue;
            default:
               var3 += 4;
               continue;
            }
         case 28:
         case 29:
            var3 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var3 += 3;
            break;
         case 31:
            var3 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var3 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var3 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var3 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var3 += 5;
            break;
         case 37:
         case 43:
         case 69:
         case 75:
         case 101:
         case 107:
            var3 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var3 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var3 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var3 += 5;
            break;
         case 44:
         case 45:
         case 76:
         case 77:
         case 108:
         case 109:
            return true;
         case 57:
         case 89:
         case 121:
            var3 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var3 += 7;
            break;
         case 59:
         case 91:
         case 123:
            var3 += 11;
            break;
         case 60:
         case 92:
         case 124:
            var3 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var3 += 11;
         }
      }

      return false;
   }

   static byte[] a(Worksheet var0, boolean var1, int var2, int var3, boolean var4, int var5, boolean var6, int var7, int var8, int var9, byte[] var10) {
      int var11 = var8;
      int var12 = var9;
      boolean var16 = false;
      int var17 = 0;
      if (var8 == -1) {
         var16 = true;
         var17 = com.aspose.cells.b.a.zc.e(var10, 0) & '\uffff';
         var11 = 2;
         var12 = var11 + (com.aspose.cells.b.a.zc.e(var10, 0) & '\uffff');
      }

      zct var18 = new zct(var10);

      while(var11 < var12) {
         int var13;
         int var14;
         int var15;
         int var20;
         int var21;
         switch(var10[var11]) {
         case 1:
            var11 += 5;
            break;
         case 2:
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return var18.a();
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
         case 8:
         case 9:
         case 10:
         case 11:
         case 12:
         case 13:
         case 14:
         case 15:
         case 16:
         case 17:
         case 18:
         case 19:
         case 20:
         case 21:
         case 22:
            ++var11;
            break;
         case 23:
            byte var19 = var10[var11 + 1];
            if (var10[var11 + 2] == 0) {
               var11 += (var19 & 255) + 3 & '\uffff';
            } else {
               var11 += (var19 & 255) * 2 + 3 & '\uffff';
            }
            break;
         case 25:
            switch(var10[var11 + 1]) {
            case 1:
               var11 += 4;
               continue;
            case 2:
               var11 += 4;
               continue;
            case 4:
               var20 = com.aspose.cells.b.a.zc.e(var10, var11 + 2);
               var11 += (var20 & '\uffff') * 2 + 6;
               continue;
            case 8:
               var11 += 4;
               continue;
            case 16:
               var11 += 4;
               continue;
            case 32:
               var11 += 4;
               continue;
            case 64:
               var11 += 4;
               continue;
            default:
               var11 += 4;
               continue;
            }
         case 28:
         case 29:
            var11 += 2;
            break;
         case 30:
         case 33:
         case 65:
         case 97:
            var11 += 3;
            break;
         case 31:
            var11 += 9;
            break;
         case 32:
         case 64:
         case 96:
            var11 += 8;
            break;
         case 34:
         case 66:
         case 98:
            var11 += 4;
            break;
         case 35:
         case 67:
         case 99:
            var11 += 5;
            break;
         case 36:
         case 68:
         case 100:
            var20 = com.aspose.cells.b.a.zc.e(var10, var11 + 1) & '\uffff';
            var21 = var10[var11 + 3] & 255;
            if ((!var4 || var20 != var2) && (var4 || var21 != var3)) {
               var11 += 5;
            } else {
               var18.a(var11 + 5, 4);
               var12 += 4;
               var10 = var18.a;
               if (var16) {
                  var17 += 4;
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var17), 0, var10, 0, 2);
               }

               System.arraycopy(var10, var11 + 3, var10, var11 + 5, 2);
               System.arraycopy(var10, var11 + 3, var10, var11 + 7, 2);
               System.arraycopy(var10, var11 + 1, var10, var11 + 3, 2);
               ++var10[var11];
               if (var4) {
                  var20 += var5;
                  System.arraycopy(com.aspose.cells.b.a.zc.a(var20), 0, var10, var11 + 3, 2);
               } else {
                  var21 += var5;
                  var10[var11 + 7] = (byte)var21;
               }

               var11 += 9;
            }
            break;
         case 37:
         case 69:
         case 101:
            if (var1) {
               if (var4) {
                  var14 = com.aspose.cells.b.a.zc.e(var10, var11 + 3) & '\uffff';
                  if (var14 == var2) {
                     if (var6) {
                        var14 += var5;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var14), 0, var10, var11 + 3, 2);
                     } else {
                        var20 = var10[var11 + 5] & 255;
                        var15 = var10[var11 + 7] & 255;
                        if (var3 <= var20 && var7 >= var15) {
                           var14 += var5;
                           System.arraycopy(com.aspose.cells.b.a.zc.a(var14), 0, var10, var11 + 3, 2);
                        }
                     }
                  }
               } else {
                  var15 = var10[var11 + 7] & 255;
                  if (var15 == var3) {
                     var15 += var5;
                     var10[var11 + 7] = (byte)var15;
                  }
               }
            }

            var11 += 9;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var11 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var11 += 3;
            break;
         case 42:
         case 74:
         case 106:
            var11 += 5;
            break;
         case 43:
         case 75:
         case 107:
            var11 += 9;
            break;
         case 44:
         case 76:
         case 108:
            var11 += 5;
            break;
         case 45:
         case 77:
         case 109:
            var11 += 9;
            break;
         case 57:
         case 89:
         case 121:
            var11 += 7;
            break;
         case 58:
         case 90:
         case 122:
            var13 = com.aspose.cells.b.a.zc.e(var10, var11 + 1) & '\uffff';
            if (var0.c().q().d(var13) != var0.getIndex()) {
               var11 += 7;
            } else {
               var20 = com.aspose.cells.b.a.zc.e(var10, var11 + 3) & '\uffff';
               var21 = var10[var11 + 5] & 255;
               if (var4 && var20 == var2 || !var4 && var21 == var3) {
                  var18.a(var11 + 7, 4);
                  var12 += 4;
                  var10 = var18.a;
                  if (var16) {
                     var17 += 4;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var17), 0, var10, 0, 2);
                  }

                  System.arraycopy(var10, var11 + 5, var10, var11 + 7, 2);
                  System.arraycopy(var10, var11 + 5, var10, var11 + 9, 2);
                  System.arraycopy(var10, var11 + 3, var10, var11 + 5, 2);
                  ++var10[var11];
                  if (var4) {
                     var20 += var5;
                     System.arraycopy(com.aspose.cells.b.a.zc.a(var20), 0, var10, var11 + 5, 2);
                  } else {
                     var21 += var5;
                     var10[var11 + 9] = (byte)var21;
                  }

                  var11 += 11;
                  continue;
               }

               var11 += 7;
            }
            break;
         case 59:
         case 91:
         case 123:
            var13 = com.aspose.cells.b.a.zc.e(var10, var11 + 1) & '\uffff';
            if (var0.c().q().d(var13) != var0.getIndex()) {
               var11 += 11;
            } else {
               if (var4) {
                  var14 = com.aspose.cells.b.a.zc.e(var10, var11 + 5) & '\uffff';
                  if (var14 == var2) {
                     if (var6) {
                        var14 += var5;
                        System.arraycopy(com.aspose.cells.b.a.zc.a(var14), 0, var10, var11 + 5, 2);
                     } else {
                        var20 = var10[var11 + 7] & 255;
                        var15 = var10[var11 + 9] & 255;
                        if (var3 <= var20 && var7 >= var15) {
                           var14 += var5;
                           System.arraycopy(com.aspose.cells.b.a.zc.a(var14), 0, var10, var11 + 5, 2);
                        }
                     }
                  }
               } else {
                  var15 = var10[var11 + 9] & 255;
                  if (var15 == var3) {
                     var15 += var5;
                     var10[var11 + 9] = (byte)var15;
                  }
               }

               var11 += 11;
            }
            break;
         case 60:
         case 92:
         case 124:
            var11 += 7;
            break;
         case 61:
         case 93:
         case 125:
            var11 += 11;
         }
      }

      return var18.a();
   }

   static boolean a(int var0, int var1, int[] var2, int var3) {
      if (var2[0] >= var0) {
         var2[0] += var1;
         if (var2[0] < var0) {
            return true;
         }

         if (var2[0] > var3) {
            var2[0] = var3;
         }
      }

      return false;
   }

   static boolean a(int var0, int var1, int[] var2, int[] var3, int var4) {
      if (var2[0] >= var0) {
         var2[0] += var1;
         if (var2[0] < var0) {
            var2[0] = var0;
         } else if (var2[0] > var4) {
            var2[0] = var4;
         }
      }

      if (var3[0] >= var0) {
         var3[0] += var1;
         if (var3[0] < var0) {
            var3[0] = var0 - 1;
         } else if (var3[0] > var4) {
            var3[0] = var4;
         }
      }

      return var3[0] < var2[0];
   }

   static boolean a(int var0, int var1, int[] var2, byte var3, int[] var4, byte var5, int var6) {
      if (zyo.a(var3) && var2[0] >= var0) {
         var2[0] += var1;
         if (var2[0] < var0) {
            var2[0] = var0;
         } else if (var2[0] > var6) {
            var2[0] = var6;
         }
      }

      if (zyo.a(var5) && var4[0] >= var0) {
         var4[0] += var1;
         if (var4[0] < var0) {
            var4[0] = var0 - 1;
         } else if (var4[0] > var6) {
            var4[0] = var6;
         }
      }

      return var4[0] < var2[0];
   }
}
